Class OverviewMap
Object
|
+--WidgetBase
|
+--OverviewMap
- class
OverviewMap
- extends WidgetBase
Defined in OverviewMap.js
Constructor Summary |
OverviewMap
(widgetNode, model)
Widget to add an OL OverviewMap to a main map.
|
Method Summary |
void
|
addOverviewMap(objRef)
Add an overview map to the map in this widget's model.
|
Object
|
getClonedLayer(layer)
Clone a map layer (OpenLayers.Layer subclass).
|
height
Object height
layerNames
Object layerNames
width
Object width
OverviewMap
OverviewMap(widgetNode, model)
Widget to add an OL OverviewMap to a main map.
Parameters:
widgetNode
- The widget's XML object node from the configuration document.
model
- The model object that this widget belongs to.
addOverviewMap
void addOverviewMap(objRef)
Add an overview map to the map in this widget's model.
If layers have been specified in the config, clone these layers for the
overview map, otherwise just use the base layer from the main map.
If any of the layers to use are WMS layers it uses an untiled version of them.
Parameters:
objRef
- Pointer to widget object.
getClonedLayer
Object getClonedLayer(layer)
Clone a map layer (OpenLayers.Layer subclass).
If the layer is a WMS layer it returns an untiled version of it.
Parameters:
layer
- Pointer to layer object.
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007