Rectangle
Definition
Rectangle
s are polygons with fixed latitudes and longitudes for the north, south, east, and west boundaries. Moving a vertex of the Rectangle
updates the appropriate edges accordingly.
Properties
- Description
- Sets or gets the description displayed in the info window. The info window appears when the user taps on the
Rectangle
. - Draggable
- Sets or gets whether or not the user can drag a map feature. This feature is accessed by long-pressing and then dragging the
Rectangle
to a new location. - EastLongitude
- Specifies the east-most edge of the
Rectangle
, in decimal degrees east of the prime meridian. - EnableInfobox
- Enables or disables the infobox window display when the user taps the
Rectangle
. - FillColor
- Sets or gets the color used to fill in the
Rectangle
. - FillOpacity
- Sets or gets the opacity of the color used to fill the
Rectangle
. A value of 0.0 will be completely invisible and a value of 1.0 will be completely opaque. - NorthLatitude
- Specifies the north-most edge of the
Rectangle
, in decimal degrees north of the equator. - SouthLatitude
- Specifies the west-most edge of the
Rectangle
, in decimal degrees east of the prime meridian. - StrokeColor
- Sets or gets the color used to outline the
Rectangle
. - StrokeOpacity
- Sets or gets the opacity of the outline of the
Rectangle
. A value of 0.0 will be invisible and a value of 1.0 will be opaque. - StrokeWidth
- Sets or gets the width of the stroke used to outline the
Rectangle
. - Title
- Sets or gets the title displayed in the info window that appears when the user clicks on the map feature.
- Type
- Returns the type of the feature. For rectangles, this returns MapFeature.Rectangle (“Rectangle”).
- Visible
- Specifies whether the
Rectangle
should be visible on the screen. Value istrue
if theRectangle
is showing andfalse
if hidden. - WestLongitude
- Specifies the south-most edge of the
Rectangle
, in decimal degrees south of the equator.