Google maps abstraction for jQuery
Pull request Compare This branch is even with danielvlopes:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.textile
example.html
jquery.geolocation.js
style.css

README.textile

Simple jQuery plugin for Geolocation based on addresses

Usage:

  
    <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>        
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.js" type="text/javascript"></script>

    // Geolocate and plot one address
    $("#mapCanvas").geolocate("1 Infinite Loop, Cupertino, Santa Clara, California 95014");

    // Geolocate more than one address
    $("#mapCanvas").geolocate([
      "Rua Domiciano Leite Ribeiro, 210, São Paulo, SP, Brasil", 
      "Leonardo da Vinci, 200, SP, São Paulo"
    ]);

  

For a real usage take a look on example.html file.

License

Under no license, do whatever you want with this.
Original author: 2011 Daniel Lopes,