Adds a custom GeoJSON geometry (Shape) to the map.
a valid GeoJSON feature collection
Optional
Floor to add the geometry to
The created shapes, or undefined if creation failed.
map.Shapes.add(polygons, { color: 'red' }, mapView.currentFloor); Copy
map.Shapes.add(polygons, { color: 'red' }, mapView.currentFloor);
Removes a specific shapes (Shape) from the map.
The shapes to be removed.
map.Shapes.remove(geo); Copy
map.Shapes.remove(geo);
Removes all Shapes (Shape) from the map.
map.Shapes.removeAll(); Copy
map.Shapes.removeAll();
Adds a custom GeoJSON geometry (Shape) to the map.