new Magnify(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
olx.OverlayOptions | Overlay options |
Extends
Methods
-
getActive()
-
Magnify is active
Returns:
- Type
- boolean
-
getMagMap()
-
Get the magnifier map
Returns:
- Type
- _ol_Map_
-
refresh()
-
Refresh the view
-
setActive(active)
-
Activate or deactivate
Parameters:
Name Type Description active
boolean -
setMap(map)
-
Set the map instance the overlay is associated with.
Parameters:
Name Type Description map
ol.Map The map instance.