logo
API Documentation
Tutorials
Getting Started Initialization Layers Third party Controls Geometries Vector styles Measures InfoBox Utils
Releases

Documentation

Modules

  • Constants

Events

  • FEATURE_CLICK
  • FEATURE_HOVER
  • CENTER_DATE_IMAGE
  • CHANGE_MEASURE
  • CLICK
  • COMPLETE_COLLECTIONS
  • FEATURES_CLICK
  • FIND_IMAGES_LOADED
  • FINISH_MEASURE
  • MAP_INITIALIZE
  • MAP_STATUS_EVENT
  • MOVE_END
  • NO_3D_IMAGES
  • POINTER_MOVE
  • START_MEASURE
  • TILES_END_LOAD
  • TILES_START_LOAD
  • FEATURE_CLICK
  • FEATURE_HOVER

General

Classes / Controls

  • Bar
  • Button
  • Swipe
  • Toggle

Classes / Managers

  • CollectionManager
  • OverlayManager

Classes

  • Map

Classes / View

  • MapStatusView

Geometry

Classes

  • Extent
  • Feature
  • Line
  • Location
  • MultiPolygon
  • Point
  • Polygon

Classes / Readers

  • GeoJSON
  • WKT

InfoBox

Classes

  • InfoBox

Layers

Classes

  • ArcGISLayer
  • BingLayer
  • GroupLayer
  • ImageryLayer
  • OSMLayer
  • VectorLayer
  • VectorTileLayer
  • WFSLayer
  • WMSLayer
  • WMTSLayer
  • XYZLayer

Classes / Base Layers

  • BaseLayer
  • BaseVectorLayer

Measurements

Classes / Tools

  • CircleTool
  • HeightTool
  • LineTool
  • PointTool
  • PolygonTool
  • RectangleTool
  • RelativeHeightTool

Classes

  • Measure

Objects

Classes

  • Collection
  • CollectionStatus
  • Image
  • LayerCollections
  • LayerCollectionsStatus
  • MapStatus

Services

Classes

  • UserService

Styles

Classes

  • Circle
  • Fill
  • Icon
  • RegularShape
  • Stroke
  • Style
  • Text

Utils

Classes

  • Transform

Class

Bar

Bar(opts)

The control bar is a container for other controls. It can be used to create custom toolbars. Control bars can be nested and combined with other controls to handle activate/deactivate.

Constructor

# new Bar(opts)

Initialization object

Parameters:
Name Type Attributes Default Description
opts object

Button options.

className string <optional>

class of the control

group boolean <optional>
false

is a part of a group, default false

toggleOne boolean <optional>

only one toggle control is active at a time, default false

autoDeactivate boolean <optional>

used with subbar to deactivate all control when top level control deactivate, default false

position string <optional>

a combination of top|left|bottom|right

controls Array.<object> <optional>

a list of control to add to the bar

Tutorials:
  • Map Bar Control

Classes

Bar

Methods

# addControl(control)

Add a control to the bar

Parameters:
Name Type Description
control object

control to add

# setPosition(position)

Set position for the bar.

Parameters:
Name Type Description
position string

a combination of top | left | bottom | right, e.g. "top", "bottom-right" or "top-left"

Documentation generated by Vexcel Imaging