Google Maps image?

前端 未结 6 1609
慢半拍i
慢半拍i 2020-11-30 02:50

Is there any way to capture the image of a Google Map? I can\'t use the static map because I have my own polylines in the map and I want them in the \"screenshot\".

6条回答
  •  一生所求
    2020-11-30 02:56

    Google doesn't provide this functionality with its API. However, there are a few scripts for scraping this information from the page. The following site has a PHP script that does it:

    http://groups.google.co.uk/group/Google-Maps-API/browse_frm/thread/e9696444518ac079?hl=en

    See the posts toward the end.

提交回复
热议问题