Class Locations
Object
|
+--WidgetBase
|
+--WidgetBaseXSL
|
+--Locations
- class
Locations
- extends WidgetBaseXSL
Defined in Locations.js
Constructor Summary |
Locations
(widgetNode, model)
Widget to display predefined locations (as per schema at lib/model/schemas/locations.xsd)
into a HTML select box.
|
Method Summary |
void
|
setAoi(bbox, targetModel, srsName)
Change the AOI coordinates from select box choice of prefined locations
|
Locations
Locations(widgetNode, model)
Widget to display predefined locations (as per schema at lib/model/schemas/locations.xsd)
into a HTML select box. Changing a location will set the AOI of the targetModel.
TBD: projection coordinate conversion still to be implemented.
Parameters:
widgetNode
- This widget's object node from the configuration document.
model
- The model that this widget is a view of.
setAoi
void setAoi(bbox, targetModel, srsName)
Change the AOI coordinates from select box choice of prefined locations
Parameters:
bbox
- the bbox value of the location keyword chosen
targetModel
- the model on which to set the AOI
srsName
- srs of the bbox
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007