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.
Under no license, do whatever you want with this.
Original author: 2011 Daniel Lopes,