/jquery.geolocation

Google maps abstraction for jQuery

Primary LanguageJavaScript

Simple jQuery plugin for Geolocation based on addresses

Change:
Allow to create many locations using array

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>

    $("#mapCanvas").geolocate("1 Infinite Loop, Cupertino, Santa Clara, California 95014");
    // OR
    $("#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,