Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Google Maps work? [closed]

What is the name of the technology behind Google Maps which allows the server to send only the part of the map requested from the user to enhance the performance, and is there any library to handle this?

like image 314
ahmed Avatar asked Oct 15 '08 13:10

ahmed


People also ask

What does closed mean on Google Maps?

The listing will completely vanish from Google Search and Google Maps, making it impossible for customers to accidentally see. Since the listing doesn't show up anywhere, the “Permanently closed” message won't show up anywhere, either.

How does Google Maps know when there is a road closure?

Google Traffic works by crowdsourcing data from users who have toggled their location to 'on' in the Google Maps app. Google collects information about the current traffic conditions on any given road/highway from its own users who are sharing their geographic location with the app.

How long does permanently closed stay on Google Maps?

After the change has been submitted, Google will review the new address and update the listing with the new location, removing the “Permanently Closed” status. This can take anywhere from minutes to a few days, but typically is seen within 24 to 48 hours.

Does Google Maps still work without service?

After you download an area, use the Google Maps app just like you normally would. If your internet connection is slow or absent, your offline maps will guide you to your destination as long as the entire route is within the offline map. Tip: Transit, bicycling, or walking directions are unavailable offline.


3 Answers

The technology could generically be described as a map server. The map server generates a map for the requested location from a large set of pre-generated map tile images covering the entire planet. The map server may overlay data from other databases on top of this. The combination of a map viewer client and geographical database is traditionally called a Geographical Information System (GIS).

Anyone can write web applications that embed Google maps using the Google Maps API.There is also a fine open source map server (called MapServer) should you wish to deploy your own map server.

like image 148
rupello Avatar answered Oct 08 '22 06:10

rupello


As stated, Google generated all of these 256x256 tiles and is just serving the relevant tiles. From your comments it seems that you are looking for something to generate these tiles for you. Several people have written code to chop an image into tiles - for instance http://crazedmonkey.com/blog/googletilecutter or http://www.klokan.cz/projects/gdal2tiles/ both seem to be able to do what your looking for.

like image 21
Nathaniel Reinhart Avatar answered Oct 08 '22 06:10

Nathaniel Reinhart


If you look at the link for a google maps page it will look like this:

http://maps.google.com/maps?f=q&hl=en&sll=37.0625,-95.677068&sspn=53.345014,88.769531&ie=UTF8&ll=41.226264,-81.454246&spn=0.012507,0.021672&z=16

The javascript code on the page and the server code use the numbers in the link to determine the location of the map you are viewing, the zoom level, and the size of your viewing window to determine the tiles to send to your browser.

There are commercial libraries that can provide the mapping data as well as tools to display and navigate the data. One I've seen used before is Geomicro

like image 27
Geoff Avatar answered Oct 08 '22 06:10

Geoff