Skip to content

MapShape

Namespace: ThinkGeo.Core

Represents a map element that pairs a feature with a ZoomLevelSet to control drawing.

public class MapShape

Inheritance objectMapShape

Properties

Feature

Gets or sets the feature that represents this map shape.

public Feature Feature { get; set; }

Property Value

Feature

ZoomLevels

Gets or sets the zoom-level configuration that controls how the shape draws.

public ZoomLevelSet ZoomLevels { get; set; }

Property Value

ZoomLevelSet

Constructors

MapShape()

Initializes a new instance of the MapShape class using a blank feature.

public MapShape()

MapShape(Feature)

Initializes a new instance of the MapShape class that wraps the specified feature.

public MapShape(Feature feature)

Parameters

feature Feature
The feature that defines the geometry and attributes for the shape.