Mapstraction

Class MapstractionGeocoder

Object
   |
   +--MapstractionGeocoder

class MapstractionGeocoder

Defined in mapstraction-geocode.js


Field Summary
 Object api
          
 Object callback
          
 Object error_callback
          
 Object geocoders
          
 Object svn_revision_string
          
 
Constructor Summary
MapstractionGeocoder(<Function> callback, <String> api, <Function> error_callback)
            MapstractionGeocoder instantiates a geocoder with some API choice
 
Method Summary
 void addAPI(api)
           Internal function to actually set the router specific parameters
 void geocode(<Object> address)
           Performs a geocoding and then calls the specified callback function with the location
 void geocode_callback(response, mapstraction_geocoder)
           Default handler for geocode request completion
 void geocode_error(response)
           Default Geocode error function
 void swap(<String> api)
           Change the Routing API to use

Field Detail

api

Object api

callback

Object callback

error_callback

Object error_callback

geocoders

Object geocoders

svn_revision_string

Object svn_revision_string

Constructor Detail

MapstractionGeocoder

MapstractionGeocoder(<Function> callback, <String> api, <Function> error_callback)

Method Detail

addAPI

void addAPI(api)

geocode

void geocode(<Object> address)

geocode_callback

void geocode_callback(response, mapstraction_geocoder)

geocode_error

void geocode_error(response)

swap

void swap(<String> api)

Mapstraction

Documentation generated by JSDoc on Mon Dec 15 20:12:04 2008