Fork me on GitHub
drag marker to fix location
Address form enhanced by Maptimize.AddressChooser

  // Create Maptimize.AddressChooser
  var widget = new Maptimize.AddressChooser.Widget(
    { onInitialized: function(widget) {
        // Add small map control (zoom and pan)
        widget.getMap().setUIToDefault();

        // Center map on selected address or on user location
        widget.initMap();

        // Focus street field
        document.getElementById('street').focus();
      },
      spinner: 'big_spinner'});
Javascript code

Introduction

Maptimize.AddressChooser is a Javascript script to create a nice address form for any websites that need to collect addresses. For example getting user's address, place's location or anything that can be localized on a map. This script just add behavior on HTML form, it does'nt generate HTML markup and can be plugged on any existing forms.

This widget behavior has been inspired by Google Local Business Center.

Features

Maptimize.AddressChooser's features are: Check out examples and documentation for API details.

Download