-
Name Type Description optionsKML options
Name Type Description layerIdstring Layer id.
labelstring Layer label.
attributionstring Attribution HTML.
beforeIdstring Before layer id.
urlstring Remote KML URL.
fileFile | Blob Local KML file.
featureStylemodule:cercaliagl/layer/KML~KMLFeaturesStyle Local KML file.
Class: KML
cercaliagl.layer/KML
Loads a KML file from URL or File/Blob and renders it as Cercalia layers. Point geometries are rendered using a MarkerLayer and line/polygon geometries are rendered using a FeatureLayer.