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
+62.7k Golang : Convert HTTP Response body to string
+21.8k Golang : Upload big file (larger than 100MB) to AWS S3 with multipart upload
+21.2k Golang : Get password from console input without echo or masked
+13.3k Golang : Date and Time formatting
+13.2k Golang : Skip blank/empty lines in CSV file and trim whitespaces example
+9k Golang : automatically figure out array length(size) with three dots
+33k Golang : How to check if a date is within certain range?
+5.6k Swift : Get substring with rangeOfString() function example
+8.3k Golang: Prevent over writing file with md5 hash
+7k Golang : How to setup a disk space used monitoring service with Telegram bot
+17.7k Golang : delete and modify XML file content
+8.3k Golang : Emulate NumPy way of creating matrix example