[英]Can i Use Google Maps Static API for getting “my maps”?
I recently came across the Google Maps Static API, Which helped me add a snapshot of any specified location as an image in my application. 我最近遇到了谷歌地图静态API,它帮助我在我的应用程序中添加任何指定位置的快照作为图像。
But I wanted to know if I can take the snapshot of "My maps" (a customized map view in Google maps application) by querying static maps API. 但我想通过查询静态地图API来了解我是否可以拍摄“我的地图”(谷歌地图应用程序中的自定义地图视图)的快照。
Customized MyMaps Sample Image 自定义MyMaps示例图像
Thanks in advance. 提前致谢。 :-)
:-)
I think it is possible as long as you use Google Maps style in here. 我认为只要你在这里使用谷歌地图风格就有可能。 You can see in the Feature Parameters in the Google Maps Static API , there is a style parameter here stated that it defines a custom style to alter the presentation of a specific feature (road, park, etc.) of the map.
您可以在Google Maps Static API的“功能参数”中看到,此处有一个样式参数,它定义了一种自定义样式,用于更改地图特定功能(道路,公园等)的显示方式。 This parameter takes feature and element arguments identifying the features to select and a set of style operations to apply to that selection.
此参数采用标识要选择的要素的要素和元素参数以及要应用于该选择的一组样式操作。 You may supply multiple styles by adding additional style parameters.
您可以通过添加其他样式参数来提供多种样式。
For more information about Styled Maps, check this link . 有关Styled Maps的更多信息,请查看此链接 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.