The Shapes class draws 3 dimensional shapes on top of a map. The shapes are created using GeoJSON geometry, which could be a Polygon, MultiPolygon (array of polygons) or a LineString.

This class is accessed using MapView.Shapes.

Refer to the Shapes Guide for more information and interactive examples.

Methods

  • Removes a specific shape (Shape) from the map.

    Parameters

    Returns void

    map.Shapes.remove(geo);
    
  • Removes all Shapes (Shape) from the map.

    Returns string[]

    map.Shapes.removeAll();
    
MMNEPVFCICPMFPCPTTAAATR