Temporal Controls
Methods
setLayerTemporalAttribute
Method:
setLayerTemporalAttribute(layer id, attribute:String)
Scope:
F1.Maker.Map
Required Arguments:
| Argument | Description | Example |
|---|
Optional Arguments:
| Argument | Description | Example |
|---|
Returns: (none)
Example:
setTemporalResolution
Method:
setTemporalResolution(resolution:String)
Scope:
F1.Maker.Map
Required Arguments:
| Argument | Description | Example |
|---|
Optional Arguments:
| Argument | Description | Example |
|---|
Returns: (none)
Example:
getTemporalResolution
Method:
getTemporalResolution()
Scope:
F1.Maker.Map
Required Arguments:
None
Optional Arguments:
None
Returns: String
Example:
getTimeSlots
Method:
getTimeSlots()
Scope:
F1.Maker.Map
Required Arguments:
None
Optional Arguments:
None
Returns: Array of time slots
Example:
setTimeSpan
Method:
setTimeSpan(min:Date, max:Date)
Scope:
F1.Maker.Map
Required Arguments:
| Argument | Description | Example |
|---|
Optional Arguments:
| Argument | Description | Example |
|---|
Returns: (none)
Example:
getTimeSpan
Method:
getTimeSpan()
Scope:
F1.Maker.Map
Required Arguments:
| Argument | Description | Example |
|---|
Optional Arguments:
| Argument | Description | Example |
|---|
Returns: TimeSpan //{min:Date, max:Date}
Example:
getGlobalTimeSpan
Method:
getGlobalTimeSpan()
Scope:
F1.Maker.Map
Required Arguments:
| Argument | Description | Example |
|---|
Optional Arguments:
| Argument | Description | Example |
|---|
Returns: TimeSpan //{min:Date, max:Date}
Example:
Callback
setTimeFilter
Sets the visible time range of data on the map
Method:
setTimeFilter(timeSliderRange)
Scope:
F1.Maker.Map
Required Arguments:
| Argument | Description | Example |
|---|---|---|
| timeSliderRange | object describing the optional elements below | {begin:”2010-05-05T00:00:00Z”, end: “2010-05-12T00:00:00Z”} |
Optional Arguments:
|_. Argument |_. Description|_. Example |
|begin|earliest time of data on the map. The format is ISO8601 or YYYY-MM-DDTHH:MM:SSZ. You can also use ‘now’ for the current time.|”2010-05-05T00:00:00Z” or "now"|
|end|latest time of data on the map. The format is ISO8601 or YYYY-MM-DDTHH:MM:SSZ. You can also use ‘now’ for the current time.|”2010-05-12T00:00:00Z” or "now"|
|period|time period in milliseconds after the begin, or before the end period if only one is specified. | “604800000″ |
Returns: (none)
Example:
// From May 5th 2010 to May 12 2010
mymap.setTimeFilter({begin:"2010-05-05T00:00:00Z", end: "2010-05-12T00:00:00Z"});
// From now until 1 week in the Future
mymap.setTimeFilter({begin:"now", period: "604800000"});
onTemporalReady
Fired whenever temporal is re-calculated.
Method:
onTemporalReady()
Scope:
F1.Maker.Map
Required Arguments:
| Argument | Description | Example |
|---|
Optional Arguments:
| Argument | Description | Example |
|---|
Returns: (none)
Example:
GeoIQ Blog- TechCamp April 30, 2012 Andrew Turner
- Visualizing our Changing Climate with Climascope April 27, 2012 Andrew Turner
- World Bank Annual Meetings April 23, 2012 Andrew Turner
- Just in Time Analytics – Kanban for Big Data April 5, 2012 Sean Gorman
- GeoIQ team at Where2.0, JSConf, FOSS4G-NA March 22, 2012 Andrew Turner
