Skip to main content

MapRectangle Methods

The class used to draw a rectangle on a map.
Name Description
CreateByCenter(MapCoordinateSystem, CoordPoint, Double, Double) static Creates a map rectangle using its center point, width and height.
ExportToWkt() Exports the map rectangle to the Well-Known Text (WKT) format.
FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) static Creates a map rectangle by its top-left and bottom-right points.
GetBounds() Returns information about the map shape bounds. Inherited from MapShape.
GetCenter() Returns the center point of the map shape. Inherited from MapShapeBase.
See Also