谷歌地图图像? [英] Google Maps image?
问题描述
有什么方法可以捕获 Google 地图的图像?我无法使用静态地图,因为我在地图中有自己的折线,而且我希望它们出现在屏幕截图"中.
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".
基本上,我希望用户导航地图,添加一些折线,当他单击保存"时,我将保存线条、坐标、缩放,但我还希望有一个图像以缩略图形式显示在列表中.
Basically I want a user to navigate the map, add some polylines, and when he clicks Save I'm saving the lines, coordinates, zoom, but I would also like to have an image to present as a thumbnail in lists.
提前确认.
推荐答案
Masashi Katsumata 提出了一个 Snapshot Control 拍摄带有路径的 Google 地图的快照并从中创建图像.
Masashi Katsumata has come up with a Snapshot Control that takes a snapshot of a Google Maps with a path on it and creates an image from it.
这篇关于谷歌地图图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!