CreateLayersFromGeoJsonParams
Last updated
Was this helpful?
Last updated
Was this helpful?
name:
string
The name of the layer to create.
source: | |
The source of the GeoJSON data.
optional
bounds: [number
,number
,number
,number
]
Sets the bounds of the layer.
optional
caption:string
Sets the caption of the layer.
optional
description:string
Sets the description of the layer.
optional
geometryStyles: {Point
:object
;Line
:object
;Polygon
:object
; }
The styles to apply to each geometry on the layer.
These are optional, and if missing will use a default style determined by Felt, which you can consider to be undefined behaviour.
Point
?
object
Line
?
object
Polygon
?
object
Each style should be a valid FSL style, as described in .