Google Maps URL parameters configuration
Google Maps have somehow becoming an integral part of many modern website that adhere to the SoLoMo (short for social-local-mobile) ways. However, getting the right configuration can be a changeling task. In short, I .....
Was busy porting over some source codes from an existing job listing website into socketloop.com last week.
However, during the testing phase .....found out that the old Google Maps URL parameters query no longer worked.
Forturnately, after reading and re-read the latest Google Maps documentation. This new query parameters worked well (September 2014) :
https://maps.google.com/?q={name of the place you want to query}&ll={latitude},{longtitude}&t={map type}&z={zoom level}
Map types :
m – normal map
k – satellite
h – hybrid
p – terrainFor example :
https://maps.google.com/?q=suria+klcc&ll=3.1582471,101.7131504&t=h&z=19
As for my own use, this URL
https://maps.google.com/?&ll={latitude},{longtitude}&t=k}&z=11
works just fine and dandy.
Give it a try and leave comments below if it doesn't work out well for you.
References :
http://moz.com/ugc/everything-you-never-wanted-to-know-about-google-maps-parameters
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+6.6k Golang : Experimental emojis or emoticons icons programming language
+5.9k Golang : Compound interest over time example
+10.5k Golang : How to delete element(data) from map ?
+27.4k PHP : Convert(cast) string to bigInt
+17.8k Golang : Get all upper case or lower case characters from string example
+7.3k Golang : Create zip/ePub file without compression(use Store algorithm)
+16.2k Golang : Find out mime type from bytes in buffer
+18.7k Golang : How to make function callback or pass value from function as parameter?
+31.4k Golang : Get local IP and MAC address
+8k Golang : Routes multiplexer routing example with regular expression control
+20.5k Golang : Secure(TLS) connection between server and client
+14.1k Elastic Search : Mapping date format and sort by date