Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AlloyCustomLayer

an alloy custom layer for rendering custom features provided externally on the map, use this to add custom features onto the map and manage them manually

Hierarchy

Implements

Index

Constructors

constructor

Properties

id

id: string
implements

map

implements

Accessors

features

Methods

addFeature

addFeatureFromFeature

addFeatureFromGeoJson

addFeatures

  • adds several features at once to the layer, should be used instead of adding features individually where possible

    Parameters

    Returns boolean

    a flag indicating if the underlying sources were modified

addFeaturesAddedListener

addLineStringFeature

addMultiLineStringFeature

addMultiPointFeature

addMultiPolygonFeature

addPointFeature

addPolygonFeature

clearFeatures

  • clearFeatures(): boolean

clone

dispose

  • dispose(): void

findFeaturesWithin

getFeatureById

removeFeature

removeFeaturesAddedListener

resetStyle

  • resetStyle(feature: OLFeature): void
  • Temp function resets style for an ol feature

    Parameters

    • feature: OLFeature

      openlayers feature for which we want to reset style

    Returns void

Generated using TypeDoc