Thread: jQuery Google Maps plugin
October 31st, 2009, 02:47 AM #1
jQuery Google Maps plugin
For one of my recent clients I had to add a google map to the website that allowed people to put in their address and get directions to the festival location.
Looking around I saw a bunch of jQuery plugins that could get the job done. But they were bulky and loaded with features I didn't need.
My solution! Create my own jQuery plugin that allows for simple functionality.
Thus jQuery GPS was born
Here Is an example
You can change where the map is centered when it first loads, Put a custom icon on that location and open a custom tooltip. Perfect for people who want to include directions to their stores, or other places of work.
All the code used to create
the Demo was this:
jQuery GPS homepage: http://www.birdwingfx.com/jQuery_gps
jQuery GPS on jQuery: http://plugins.jquery.com/project/jGPS
Full documentation available on the homepage as well as license info.
I was thinking of calling it the Google positioning system... but since Google actually has a GPS navigation system for Android 2.0 I decided I would probably get in trouble for that
Last edited by birdwing; October 31st, 2009 at 03:11 AM.
October 31st, 2009, 10:36 AM #2
nice work man. i might suggest looking at their new api though, v3, cause it doesn't require that you have a developer key. not sure how that will affect your script code but may be worth a looksie. but really nice and simple work.Let us live so that when we come to die even the undertaker will be sorry. - Mark Twain
Don't PM me your CSS, xHTML, JS or PHP questions. I will not reply to ANY IE6 questions.
October 31st, 2009, 12:06 PM #3