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

GeoJSON

GeoJSON()

Feature format for reading and writing data in the GeoJSON format.

Constructor

# new GeoJSON()

Classes

GeoJSON

Methods

# readFeature(geoJSON) → {Feature}

Read the feature from the GeoJSON geometry object.

Parameters:
Name Type Description
geoJSON object

GeoJSON geometry

Feature.

Feature

# readFeatures(geoJSON) → {object}

Read the features from the GeoJSON geometry string.

Parameters:
Name Type Description
geoJSON object

GeoJSON geometry in geographic coordinates.

Features.

object

# readGeometry(geoJSON) → {object}

Read the geometry from the GeoJSON geometry string.

Parameters:
Name Type Description
geoJSON object

GeoJSON geometry

Geometry.

object

# writeFeature(feature) → {string}

Encode a feature as a GeoJSON object.

Parameters:
Name Type Description
feature Feature

Feature.

Encoded feature.

string

# writeFeatures(features) → {string}

Encode an array of features as GeoJSON object.

Parameters:
Name Type Description
features Array.<Feature>

Features.

Encoded features.

string

# writeGeometry(geometry) → {string}

Write a single geometry.

Parameters:
Name Type Description
geometry object

geometry.

Geometry

string

Documentation generated by Vexcel Imaging