gMap : Simple jQuery plugin to embed Google Map

Feb 10, 2010

Want to add a Google Map to your web page? Looking for a simple way to embed Google Maps on your pages? Try gMap, a lightweight jQuery plugin that will enable you to easily embed Google Maps into your website. This jQuery plugin is very flexible and highly customizable. To embed a Google Map, all you need to do is add a simple line of code to your HTML. And it is only 2 KB in size! Interesting, isn’t it?

gMap jQuery Plugin

To start using the gMap jQuery plugin, you need a free Google Maps API key and at least version 1.3 of the jQuery library. Then insert calls to your Google Maps API, jQuery library and the gMap plugin in your <head> section. Then place a <div> on your page and call the gMap() function on it. That’s it! Your map will be live. For customization, you need to pass a JSON object to the gMap() function.

More info and examples:

One Response to “gMap : Simple jQuery plugin to embed Google Map”

Leave a Reply

Note: The sign * means required field. Comments are subject to moderation.