Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Google Map to Select a location [closed]

Tags:

google-maps

I want to get address info for the user when registering in my web site. I want to display a Google Map and let the user choose the country, then the city. When this happen, I will display the city in google map, let the user then choose the exact longitude and latitude by clicking on the map. I save that in my database.

Can I get some help, how can I start doing that?

like image 403
Feras Taleb Avatar asked Feb 11 '11 19:02

Feras Taleb


People also ask

How long does permanently closed stay on Google Maps?

Important: Only use temporarily closed if your business is closed for more than 7 days or closed indefinitely. If your business is closed for less than 6 days, set Special hours.

Why does Google Maps say permanently closed?

Businesses that don't claim their updated listings in Google My Business will end up with their listing marked as “Permanently Closed,” as Google's rules say that they will “close” a listing when a business moves.


1 Answers

Using the google maps v3 api to do this is pretty simple. You can use it directly. I wrote a jQuery wrapper to help a bit. Here is a blog post showing how to use the wrapper:

http://blog.bobcravens.com/2010/06/a-google-maps-version-3-jquery-plugin/

Hope this gets you started.

Bob

like image 107
rcravens Avatar answered Oct 21 '22 02:10

rcravens