问题
I want to allow end users of my website to generate image of google map. How is this possible after the User has selected its location on google map and can then generate the image.
回答1:
It's not allowed. See here:
https://developers.google.com/maps/faq#tos_screenshots
Use of Google Maps imagery in printed materials and offline media is subject to the Permission Guidelines published at:
http://www.google.com/permissions/geoguidelines.html
you can request permission, but I don't think it's easy to obtain, unless you are a paying business customer.
回答2:
Besides the "not allowed" part, there might be a way to let your users download the Google Map screen. However this will take some programming. Here is the basic idea:
When the users interact with the Google Map on your page, you can keep track of the used zoom and map boundaries as well as the selected location. With these values, you can use the Google Static Maps API to let your users download a static image.
来源:https://stackoverflow.com/questions/12226521/generate-image-of-google-map