layers
Index
fn withConfig(value)fn withConfigMixin(value)fn withFilterData(value)fn withFilterDataMixin(value)fn withLocation(value)fn withLocationMixin(value)fn withName(value)fn withOpacity(value)fn withTooltip(value=true)fn withType(value)obj location
Fields
fn withConfig
withConfig(value)
PARAMETERS:
- value (
object)
Custom options depending on the type
fn withConfigMixin
withConfigMixin(value)
PARAMETERS:
- value (
object)
Custom options depending on the type
fn withFilterData
withFilterData(value)
PARAMETERS:
- value (
object)
Defines a frame MatcherConfig that may filter data for the given layer
fn withFilterDataMixin
withFilterDataMixin(value)
PARAMETERS:
- value (
object)
Defines a frame MatcherConfig that may filter data for the given layer
fn withLocation
withLocation(value)
PARAMETERS:
- value (
object)
Common method to define geometry fields
fn withLocationMixin
withLocationMixin(value)
PARAMETERS:
- value (
object)
Common method to define geometry fields
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
- default value:
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"
- valid values:
fn location.withWkt
location.withWkt(value)
PARAMETERS:
- value (
string)