new Synchronize(options)
Interaction synchronize
Parameters:
| Name | Type | Description |
|---|---|---|
options |
olx.interaction.SynchronizeOptions | maps {Array<ol.Map>} An array of maps to synchronize with the map of the interaction |
Extends
- ol.interaction.Interaction
Methods
-
handleMouseOut_(e)
-
Cursor out of map > tells other maps to hide the cursor
Parameters:
Name Type Description eevent "mouseOut" event
-
handleMove_(e)
-
Cursor move > tells other maps to show the cursor
Parameters:
Name Type Description eol.event "move" event
-
setMap(map)
-
Remove the interaction from its current map, if any, and attach it to a new map, if any. Pass
nullto just remove the interaction from the current map.Parameters:
Name Type Description mapol.Map Map.
-
syncMaps()
-
Synchronize the maps
ol-ext