How to get the Google Map based on Latitude on Longitude? -


i want display google map in web page based on longitude , latitude. first user want enter longitude , latitude in 2 text box's. click submit button have display appropriate location in google map.and want show weather report on it.how that? thank you.

create uri one:

http://maps.google.com/?q=[lat],[long]

for example:

http://maps.google.com/?q=-37.866963,144.980615

or, if using javascript api

map.setcenter(new glatlng(0,0)) 

this, , other helpful info comes here:

http://code.google.com/apis/maps/documentation/javascript/reference.html#map


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -