简体   繁体   English

我可以使用Google Maps Static API获取“我的地图”吗?

[英]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.

相关问题 如何使用 Google Maps API 在我的 Google Maps Android 应用程序中添加路线? - How can I add a route in my Google Maps Android application using Google Maps API? 我可以在自己的网站中使用Google Maps API并将其链接到android应用吗? - Can I use google maps API in my own website and link it to android app? 我可以免费使用移动谷歌地图 API 吗? - can i use mobile google maps API for free? 谷歌静态地图API没有标签? - Google static maps API with no labels? 我可以访问Google地图保存供离线使用的地图吗 - Can I Access Maps Saved for Offline use by Google Maps 我可以编辑适用于Android的Google Maps API吗? - Can I edit the Google maps api for android? 在 Google Maps Android API 中使用 google maps 离线地图(缓存) - Use google maps offline maps (cache) in Google Maps Android API 我可以在Android上使用Static Maps API V2,并像JavaScript apiV3一样使用它吗? - Can i use Static Maps API V2 with Android and use it like JavaScript apiV3? 我无法从Google Maps API获取准确的GPS位置以在Android上使用 - I'm having trouble getting accurate GPS locations from the Google Maps API for use on Android 如何在Google地图上绘制静态目标圆? - How can I draw a static target circle on Google Maps?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM