Methods
addGeoJSONLayer
- addGeoJSONLayer(layerName, featureOrFeatureCollection): undefined | Promise<void>
Experimental
Parameters
-
layerName: string
-
featureOrFeatureCollection: Feature<Polygon, GeoJsonProperties> | FeatureCollection<Polygon, GeoJsonProperties>
Returns undefined | Promise<void>
getAllLayersForMap
- getAllLayersForMap(map): Promise<{
[layerName: string]: boolean;
}>
Experimental
Returns Promise<{
[layerName: string]: boolean;
}>
showLayers
- showLayers(layers): void
Experimental
Returns void
API to control per-map layer management, visibility and interpolations.