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

Style

Style(opts)

Container for vector feature rendering styles. Any changes made to the style or its children through set*() methods will not take effect until the feature or layer that uses the style is re-rendered.

Learn more about implementing styles in our Polygon styles, Point styles, Point shapes styles, Feature styles, and Text styles tutorials.

Constructor

# new Style(opts)

Initialization object

Parameters:
Name Type Attributes Description
opts object

Tile layer options.

fill Fill <optional>

Fill style.

stroke Stroke <optional>

Stroke style

image Image <optional>

Image style

text Text <optional>

Text style

Tutorials:
  • Polygon styles
  • Point styles
  • Point shapes styles
  • Feature styles
  • Text styles

Classes

Style

Methods

# getFill() → {Fill}

Get the fill style.

Fill

# getImage() → {Image}

Get the image style

Image

# getStroke() → {Stroke}

Stroke

# getText() → {Text}

Get text style

Text

# setFill(fill)

Set the fill style.

Parameters:
Name Type Description
fill Fill

# setImage(image)

Set the image style

Parameters:
Name Type Description
image Image

# setStroke(stroke)

Set the stroke style

Parameters:
Name Type Description
stroke Stroke

# setText(text)

Set text style

Parameters:
Name Type Description
text Text

Documentation generated by Vexcel Imaging