Just a jQuery plugin for Google Maps JavaScript API V3
Just follow these simple steps to add an google map to your app:
-
Include jQuery and this plugin on your page.
<script src="http://code.jquery.com/jquery.min.js"></script> <script src="jquery.gmap.js"></script>
-
Include google map javascript api V3 and infobox.js to support the infobox.
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/tags/infobox/1.1.9/src/infobox.js"></script>
-
Just initilize the gmap with an container.
<script> $(function() { $('#map').gmap(); }); </script>