Skip to content

danielvlopes/jquery.geolocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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,

About

Google maps abstraction for jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published