Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AlloyClusterLayer

an alloy cluster layer uses the /api/layer/{code}/{x}/{y}/{z}/cluster endpoint to request and display features. it will cluster features that are close together until they are suitably dispersed or at a required zoom level then they will become individual items.

Hierarchy

Implements

Index

Constructors

constructor

Properties

bounds

bounds: Readonly<AlloyBounds>
implements

id

id: string
implements

layerCode

layerCode: string

the layer code for the cluster layer

map

implements

styles

styles: Readonly<AlloyLayerStyle[]>
implements

Accessors

features

Methods

addFeature

addFeatures

addFeaturesAddedListener

clearFeatures

  • clearFeatures(): boolean

clone

dispose

  • dispose(): void

findFeaturesWithin

getFeatureById

getFeatureByItemId

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