- Source:
- olx.jsdoc, line 9
TypeDefs
-
DefaultsOptions
Stability: experimental -
Interactions for the map. Default is
truefor all options.- Source:
- objectliterals.jsdoc, line 71
Properties:
Name Type Description altShiftDragRotateboolean | undefined Whether Alt-Shift-drag rotate is desired. Default is
true.doubleClickZoomboolean | undefined Whether double click zoom is desired. Default is
true.dragPanboolean | undefined Whether drag-pan is desired. Default is
true.keyboardboolean | undefined Whether keyboard interaction is desired. Default is
true.mouseWheelZoomboolean | undefined Whether mousewheel zoom is desired. Default is
true.shiftDragZoomboolean | undefined Whether Shift-drag zoom is desired. Default is
true.touchPanboolean | undefined Whether touch pan is desired. Default is
true.touchRotateboolean | undefined Whether touch rotate is desired. Default is
true.touchZoomboolean | undefined Whether touch zoom is desired. Default is
true.zoomDeltanumber | undefined Zoom delta.
zoomDurationnumber | undefined Zoom duration.
-
DoubleClickZoomOptions
Stability: experimental -
DragAndDropOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 59
Properties:
Name Type Description formatConstructorsArray.<function(new:ol.format.Feature)> | undefined Format constructors.
reprojectTool.proj.ProjectionLike Target projection. By default, the map's view's projection is used.
-
DragBoxOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 67
Properties:
Name Type Description conditionol.events.ConditionType | undefined A conditional modifier (i.e. Shift key) that determines if the interaction is active or not, default is always.
styleol.style.Style Style for the box.
-
DragPanOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 61
Properties:
Name Type Description kineticol.Kinetic | undefined Kinetic inertia to apply to the pan.
conditionol.events.ConditionType | undefined A conditional modifier (i.e. Shift key) that determines if the interaction is active or not, default is no modifiers.
-
DragRotateAndZoomOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 65
Properties:
Name Type Description conditionol.events.ConditionType | undefined A conditional modifier (i.e. Shift key) that determines if the interaction is active or not, default is shify key.
-
DragRotateOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 63
Properties:
Name Type Description conditionol.events.ConditionType | undefined A conditional modifier (i.e. Shift key) that determines if the interaction is active or not, default is both shift and alt keys.
-
DragZoomOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 69
Properties:
Name Type Description conditionol.events.ConditionType | undefined A conditional modifier (i.e. Shift key) that determines if the interaction is active or not, default is shift key.
styleol.style.Style Style for the box.
-
DrawOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 73
Properties:
Name Type Description featuresol.Collection | undefined Destination collection for the drawn features.
sourceol.source.Vector | undefined Destination source for the drawn features.
snapTolerancenumber | undefined Pixel distance for snapping to the drawing finish (default is 12).
typeol.geom.GeometryType Drawing type ('Point', 'LineString', 'Polygon', 'MultiPoint', 'MultiLineString', or 'MultiPolygon').
styleol.style.Style | Array.<ol.style.Style> | ol.feature.StyleFunction | undefined Style for sketch features.
-
KeyboardPanOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 75
Properties:
Name Type Description conditionol.events.ConditionType | undefined A conditional modifier (i.e. Shift key) that determines if the interaction is active or not, default is no modifiers.
pixelDeltanumber | undefined Pixel The amount to pan on each key press. Default is
128pixels. -
KeyboardZoomOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 77
Properties:
Name Type Description durationnumber | undefined Animation duration in milliseconds. Default is
100.conditionol.events.ConditionType | undefined A conditional modifier (i.e. Shift key) that determines if the interaction is active or not, default is no modifiers.
deltanumber | undefined The amount to zoom on each key press. Default is
1. -
ModifyOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 85
Properties:
Name Type Description pixelTolerancenumber | undefined Pixel tolerance for considering the pointer close enough to a vertex for editing. Default is 20 pixels.
styleol.style.Style | Array.<ol.style.Style> | ol.feature.StyleFunction | undefined FeatureOverlay style.
featuresol.Collection The features the interaction works on.
-
MouseWheelZoomOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 79
Properties:
Name Type Description durationnumber | undefined Animation duration in milliseconds. Default is
250. -
SelectOptions
Stability: not documented -
- Source:
- objectliterals.jsdoc, line 81
Properties:
Name Type Description addConditionol.events.ConditionType | undefined A conditional modifier (e.g. shift key) that determines if the selection is added to the current selection. By default, a shift-click adds to the current selection.
conditionol.events.ConditionType | undefined A conditional modifier (e.g. shift key) that determines if the interaction is active (i.e. selection occurs) or not. By default, a click with no modifier keys toggles the selection.
layerFilterfunction Filter function to restrict selection to a subset of layers.
layerol.layer.Layer | undefined Layer. The single layer from which features should be selected.
layersArray.<ol.layer.Layer> | undefined Layers. Zero or more layers from which features should be selected.
styleol.style.Style | Array.<ol.style.Style> | ol.feature.StyleFunction | undefined FeatureOverlay style.
-
TouchPanOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 83
Properties:
Name Type Description kineticol.Kinetic | undefined Kinetic inertia to apply to the pan.
-
TouchRotateOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 87
Properties:
Name Type Description thresholdnumber | undefined Minimal angle in radians to start a rotation. Default is
0.3. -
TouchZoomOptions
Stability: experimental -
- Source:
- objectliterals.jsdoc, line 89
Properties:
Name Type Description durationnumber | undefined Animation duration in milliseconds. Default is
400.
OpenLayers 3