简体   繁体   中英

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.

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.

Customized MyMaps Sample Image

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. 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM