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.
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:
you can request permission, but I don't think it's easy to obtain, unless you are a paying business customer.
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.
© 2022 - 2024 — McMap. All rights reserved.