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

Documentation

Modules

  • Constants

Events

  • FEATURE_CLICK
  • FEATURE_HOVER
  • CHANGE_MEASURE
  • CLICK
  • FEATURES_CLICK
  • FIND_IMAGES_LOADED
  • LAYER_AOIS
  • MAP_INITIALIZE
  • MOVE_END
  • POINTER_MOVE
  • TILES_END_LOAD
  • TILES_START_LOAD
  • FEATURE_CLICK
  • FEATURE_HOVER

General

Classes / Controls

  • Bar
  • Button
  • Swipe
  • Toggle

Classes / Managers

  • LayerManager
  • MeasurementManager

Classes

  • Map

Geometry

Classes

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

Classes / Readers

  • GeoJSON
  • WKT

InfoBox

Classes

  • InfoBox

Layers

Classes / Internal

  • AOILayer
  • VexcelLayer

Classes

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

Measurements

Classes / Tools

  • LineTool
  • PointTool
  • PolygonTool

Classes

  • Measure

Services

Classes

  • UserService

Styles

Classes

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

Class

GeoJSON

GeoJSON()

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

Constructor

# new GeoJSON()

Classes

GeoJSON

Methods

# readFeature(geoJSON) → {object}

Read the feature from the GeoJSON geometry object.

Parameters:
Name Type Description
geoJSON object

GeoJSON geometry

Feature.

object

# 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 object

Feature.

Encoded feature.

string

# writeFeatures(features) → {string}

Encode an array of features as GeoJSON object.

Parameters:
Name Type Description
features Array.<object>

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