Icons
Geocode
LBS
Search
Route
Points
Miscellaneous
Index

RectangleIcon

Inheritance: Icon > RectangleIcon

The RectangleIcon class is used to add a rectangular marker on the map.
The RectangleIcon class is based on the Icon class, and in order to add a rectangular marker on the map you should attach the RectangleIcon object to the marker you’d like to add to the map.

See on the examples page how to add markers to the map: Use shapes -> Add external icon to map


Summary
Inheritance: Icon > RectangleIcon
The RectangleIcon constructor.

Constructors

RectangleIcon

RectangleIcon(int radius
LineStyle lineStyle
BrushStyle brushStyle)

The RectangleIcon constructor.

Parameters

radiusThe radius (in pixels) of the icon.
lineStyleThe line style of the icon.
brushStyleThe brush style of the icon.
The Icon class is used to set the graphic form of the Marker object.
You can use 3 types of icons that inherit from this class:
RectangleIcon(int radius
LineStyle lineStyle
BrushStyle brushStyle)
The RectangleIcon constructor.
This class defines a line style.
This class defines a brush style.