How to download Google Maps satellite images and save coordinates information related to the image?
I have Google Maps related problem, and can't find the way how implement it. Try to imagine program that do next:
download Google Maps satellite view image (in some specified zoom level) for some area. For instance we want image for all England.
this "England photo" will be split in some number of tiles and packed into the archive
in the archive we need to save (in separate XML file) information about coordinates on thi开发者_JAVA技巧s images
Why we need this? After, in other part of the program, we can do next:
user asks as: "Show me please map for the point 51°30′26″/0°07′39″
and we can display part of the "England photo" with London in the centre.
This is something like offline version of Goole Maps. Does someone know how it can be done (JS, Java, ...)?
You can theoretically use the Google Static Maps API. I say theoretically because:
- it's impractical to save that much amount of data
- google will restrict the number of such downloads
http://mt1.google.com/vt/lyrs=m@159000000&hl=en&x=297&y=192&z=9&s=Gal
in this url x, y ,z are very well known what they are.
but i don't think you can get this images for specific location because number are not related to each other with an easy pattern.
i think you need to make gmap.js file readable and then examine it for a long time
精彩评论