inputEx Documentation Back to homepage

inputEx Documentation > inputEx.MapField 0.2.2

Static Class inputEx.MapField - extends inputEx.Field

Wrapper for Mapping APIs, including Google Maps, Yahoo Maps and Virtual Earth

Constructor

inputEx.MapField ( options )
Parameters:
options <Object>  - Added options:
  • width
  • height
  • loading
  • lat
  • lon
  • uzoom
  • api: google, yahoo or virtualearth (default)
  • api_key

Properties

static  groupOptions - Object

group Options for each field

options - Object

Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.

Methods

getValue

getValue()
return the same structure as setValue

renderComponent

renderComponent()
Render the field using the appropriate mapping function

setOptions

setOptions(options)
Adds the 'inputEx-MapField' default className
Parameters:
    options

setValue

setValue(value)
set the value: {lat: 45.23234, lon: 2.34456, uzoom: 6, nzoom: 6}
Parameters:
    value

wait_create

wait_create(_this)
This will wait until the DOM element appears before completion of map rendering
Parameters:
    _this




Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:31 GMT using neyricjslibs-template.