- Source:
- control.jsdoc, line 1
Classes
- ol.control.Attribution
- ol.control.Control
- ol.control.FullScreen
- ol.control.Logo
- ol.control.MousePosition
- ol.control.ScaleLine
- ol.control.Zoom
- ol.control.ZoomSlider
- ol.control.ZoomToExtent
Members
-
<static> ScaleLineUnits :string
-
- Source:
- scalelinecontrol.js, line 33
Properties:
Name Type Default Description DEGREESstring degrees IMPERIALstring imperial NAUTICALstring nautical METRICstring metric USstring us
Methods
-
<static> defaults
-
Parameters:
Name Type Argument Description optionsol.control.DefaultsOptions <optional>
(Optional) Defaults options.
- Source:
- controldefaults.js, line 13
Returns:
Controls.
- Type
- ol.Collection
TypeDefs
-
AttributionOptions
-
- Source:
- objectliterals.jsdoc, line 29
Properties:
Name Type Description classNamestring | undefined CSS class name. Default is 'ol-attribution'.
targetElement | undefined Target.
-
ControlOptions
-
- Source:
- objectliterals.jsdoc, line 31
Properties:
Name Type Description elementElement | undefined Element.
targetElement | undefined Target.
-
DefaultsOptions
-
- Source:
- objectliterals.jsdoc, line 33
Properties:
Name Type Description attributionboolean | undefined Attribution.
attributionOptionsol.control.AttributionOptions | undefined Attribution options.
logoboolean | undefined Logo.
logoOptionsol.control.LogoOptions | undefined Logo options.
zoomboolean | undefined Zoom.
zoomOptionsol.control.ZoomOptions | undefined Zoom options.
-
FullScreenOptions
-
- Source:
- objectliterals.jsdoc, line 35
Properties:
Name Type Description classNamestring | undefined CSS class name. Default is 'ol-full-screen'.
keysboolean | undefined Full keyboard access.
targetElement | undefined Target.
-
LogoOptions
-
- Source:
- objectliterals.jsdoc, line 37
Properties:
Name Type Description classNamestring | undefined CSS class name. Default is 'ol-logo'.
targetElement | undefined Target.
-
MousePositionOptions
-
- Source:
- objectliterals.jsdoc, line 39
Properties:
Name Type Description classNamestring | undefined CSS class name. Default is 'ol-mouse-position'.
coordinateFormatol.CoordinateFormatType | undefined Coordinate format.
projectionol.ProjectionLike Projection.
targetElement | undefined Target.
undefinedHTMLstring | undefined Markup for undefined coordinates. Default is '' (empty string).
-
ScaleLineOptions
-
- Source:
- objectliterals.jsdoc, line 41
Properties:
Name Type Description classNamestring | undefined CSS Class name. Default is 'ol-scale-line'.
minWidthnumber | undefined Minimum width in pixels.
targetElement | undefined Target.
unitsol.control.ScaleLineUnits | undefined Units.
-
ZoomOptions
-
- Source:
- objectliterals.jsdoc, line 43
Properties:
Name Type Description classNamestring | undefined CSS class name. Default is 'ol-zoom'.
deltanumber | undefined The zoom delta applied on each click.
targetElement | undefined Target.
-
ZoomSliderOptions
-
- Source:
- objectliterals.jsdoc, line 45
Properties:
Name Type Description classNamestring | undefined CSS class name.
maxResolutionnumber | undefined Maximum resolution.
minResolutionnumber | undefined Minimum resolution.
-
ZoomToExtentOptions
-
- Source:
- objectliterals.jsdoc, line 47
Properties:
Name Type Description classNamestring | undefined Class name.
targetElement | undefined Target.
extentol.Extent | undefined The extent to zoom to. If undefined the validity extent of the view projection is used.