Base class for 3rd party layers. Create a new event pane layer with the OpenLayers.Layer.EventPane constructor.
OpenLayers. Layer. EventPane | Base class for 3rd party layers. |
Properties | |
smoothDragPan | {Boolean} smoothDragPan determines whether non-public/internal API methods are used for better performance while dragging EventPane layers. |
isFixed | {Boolean} EventPaned layers are fixed by default. |
Constructor | |
OpenLayers. Layer. EventPane | Create a new event pane layer |
Functions | |
destroy | Deconstruct this layer. |
removeMap | On being removed from the map, we’ll like to remove the invisible ‘pane’ div that we added to it on creation. |
{Boolean} smoothDragPan determines whether non-public/internal API methods are used for better performance while dragging EventPane layers. When not in sphericalMercator mode, the smoother dragging doesn’t actually move north/south directly with the number of pixels moved, resulting in a slight offset when you drag your mouse north south with this option on. If this visual disparity bothers you, you should turn this option off, or use spherical mercator. Default is on.
removeMap: function( map )
On being removed from the map, we’ll like to remove the invisible ‘pane’ div that we added to it on creation.
map | {OpenLayers.Map} |
Deconstruct this layer.
destroy: function()
On being removed from the map, we’ll like to remove the invisible ‘pane’ div that we added to it on creation.
removeMap: function( map )