Class MMRectangleOverlay
Object
|
+--MMOverlay
|
+--MMRectangleOverlay
- class
MMRectangleOverlay
- extends MMOverlay
Defined in MultimapOpenAPI
|
Constructor Summary |
MMRectangleOverlay
( <MMBounds> bounds, className, <boolean> draggable, extras )
MMRectangleOverlay class; for drawing basic rectangles on the map.
|
|
Method Summary |
void
|
reset( <MMBounds> bounds, className, <boolean> draggable )
Allows the properties of the rectangle to be reset, if any of the properties
passed in have the undefined value, they will not be reset.
|
MMRectangleOverlay
MMRectangleOverlay( <MMBounds> bounds, className, <boolean> draggable, extras )
MMRectangleOverlay class; for drawing basic rectangles on the map.
This class adds a DIV HTML tag to the mapviewer which can be styled to
appear as a rectangle on the map.
Parameters:
bounds - Bounding box for the rectangle that you want to add.
draggable - (optional) If true, means that the rectangle may be dragged to a new location.
cssClass - (optional) The icon to use to display the marker; a default icon is used if none is given.
reset
void reset( <MMBounds> bounds, className, <boolean> draggable )
Allows the properties of the rectangle to be reset, if any of the properties
passed in have the undefined value, they will not be reset.
Parameters:
bounds - Bounding box for the rectangle that you want to add.
draggable - (optional) If true, means that the rectangle may be dragged to a new location.
cssClass - (optional) The icon to use to display the marker; a default icon is used if none is given.
Documentation generated by
JSDoc on Tue Feb 26 16:25:19 2008