如何从Javascript捕获谷歌图像 [英] How Do I capture a google image from Javascript

查看:63
本文介绍了如何从Javascript捕获谷歌图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在MFC中有一个对话框基础应用程序,它会绘制一些ployline。现在我要插入谷歌地图的图像,该图像取自提供的纬度,这些折线的背景中的长值。我认为这只有在我们能够将这些图像保存在本地硬盘中时才有可能。但是我无法在本地硬盘上保存来自互联网的图像。使用Javascript我可以在Intrent资源管理器上看到图像,但无法保存这些图像。

请帮助我如何使用javascript将这些图像保存在我的本地磁盘上。?



问候,

Abhishek

Hi,

I have one dialog base application in MFC, which draw some ployline . Now I want to insert image of google map which is taken from provided lat, long values in the background of those polylines. I think this can be possible only when we will be able to save those images in local hard disk. but I am not able to save the images from internet on the local hard disk. Using Javascript I can see the image on Intrent explorer but not able to save those images.
Please help me how I can save those images on my local disk using javascript.?

Regards,
Abhishek

推荐答案

有人用WebBrowser [ ^ ] control:以编程方式将Google地图图像保存到文件 [ ^ ]。
Someone did it using the WebBrowser[^] control: "Save a Google Map Image to File Programmatically"[^].


这篇关于如何从Javascript捕获谷歌图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆