Address Picker Using Google Maps API v3

Views: 28524 | 9 Comments

A very light, simple and easy to use address picker using Google Maps API v3 and jQuery, you may use this widget to embd in you web forms if you want user to input address or/and latitude/longtitude.

Map Address Picker

Live Demo


Code sample:

<script type="text/javascript"
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript" src="map.js"></script>

<input type="reset" id="pick_addr" value="Pick Address" />

<script type="text/javascript">
	function callback(pos, addr, addr_ext){
		alert(pos, addr, addr_ext);

	var default_pos = new google.maps.LatLng(39.904214, 116.407413);
	var opt = {
		pos: default_pos,
		callback: callback
	var addr_picker = new AddressPicker(opt);

Posted by ideawu at 2011-07-08 16:27:21 Tags: , ,

9 Responses to "Address Picker Using Google Maps API v3"

Leave a Comment