new ol.supermap.WebMap(id, options)
WebMap.js, line 28
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
string |
id of the iPortal/Online map. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Extends
- ol.Observable
Methods
-
addLayer(layer)
WebMap.js, line 152 -
Add the layer.
Name Type Description layerol.layer.Vector ol.layer.Vector.
-
load()
WebMap.js, line 68 -
Add map layer after logging in.