Skip to content

layers

Index

Fields

fn withConfig

withConfig(value)

PARAMETERS:

  • value (string)

Custom options depending on the type

fn withFilterData

withFilterData(value)

PARAMETERS:

  • value (string)

Defines a frame MatcherConfig that may filter data for the given layer

fn withLocation

withLocation(value)

PARAMETERS:

  • value (object)

fn withLocationMixin

withLocationMixin(value)

PARAMETERS:

  • value (object)

fn withName

withName(value)

PARAMETERS:

  • value (string)

configured unique display name

fn withOpacity

withOpacity(value)

PARAMETERS:

  • value (integer)

Common properties: https://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html Layer opacity (0-1)

fn withTooltip

withTooltip(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

Check tooltip (defaults to true)

fn withType

withType(value)

PARAMETERS:

  • value (string)

obj location

fn location.withGazetteer

location.withGazetteer(value)

PARAMETERS:

  • value (string)

Path to Gazetteer

fn location.withGeohash

location.withGeohash(value)

PARAMETERS:

  • value (string)

Field mappings

fn location.withLatitude

location.withLatitude(value)

PARAMETERS:

  • value (string)

fn location.withLongitude

location.withLongitude(value)

PARAMETERS:

  • value (string)

fn location.withLookup

location.withLookup(value)

PARAMETERS:

  • value (string)

fn location.withMode

location.withMode(value)

PARAMETERS:

  • value (string)
    • valid values: "auto", "geohash", "coords", "lookup"

fn location.withWkt

location.withWkt(value)

PARAMETERS:

  • value (string)