且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将自定义Google地图转换为图片

更新时间:2022-06-16 21:58:47

如果您需要自动执行产生图像的过程,像PhantomJS这样的工具可以帮助您编写一个脚本来自动获取网页截图(您使用Google Maps JavaScript API绘制的截图)。

If you need to automate the process which produces the image, a tool like PhantomJS can help you write a script to automatically take a screenshot of a webpage (which you've drawn using the Google Maps JavaScript API).

http://phantomjs.org/screen- capture.html