Class TimeMap.params.ExtendedDataParam
- Extends:
- TimeMap.params.OptionParam
- Defined in:
- kml.js
Class for parameters loaded from KML ExtendedData elements
Constructor
TimeMap.params.ExtendedDataParam(paramName, tagName)
Fields
| Field | |
|---|---|
|
paramName
:{String}
String name of this param
|
|
Set the state value in the opts object of a TimeMap or TimeMapItem
|
|
String name of the source element, if different
|
Methods
| Method | |
|---|---|
|
fromString(s)
Parse a state value from a string
|
|
get(o)
Get the current state value from the opts object of a TimeMap or TimeMapItem
|
|
getString(o)
Get the current value as a string
|
|
setConfig(config, value)
Set a new value on a config object for TimeMap.init() or a particular item
|
|
setConfigKML(config, node)
Set a config object based on an ExtendedData element
|
|
|
setConfigXML(config, node)
Set a config object based on an XML tag
|
|
setString(o, s)
Set the current state value from a string
|
|
toString(value)
Serialize a state value as a string
|
Class Detail
TimeMap.params.ExtendedDataParam(paramName, tagName)
| Parameters (optional) | ||
|---|---|---|
| paramName | {String} | String name of the parameter |
| tagName | {String} | Tag name, if different |
Method Details
setConfigKML(config, node)
Set a config object based on an ExtendedData element
| Parameters (optional) | ||
|---|---|---|
| config | {Object} | Config object to modify |
| node | {XML NodeList} | Parent node to look for tags in |
©2010 Nick Rabinowitz
Documentation generated by JsDoc Toolkit 2.3.2 on Sat Aug 06 2011 13:40:08 GMT-0700 (PDT)
Documentation generated by JsDoc Toolkit 2.3.2 on Sat Aug 06 2011 13:40:08 GMT-0700 (PDT)