|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--MMOverlay
Defined in MultimapAPI
| Constructor Summary | |
MMOverlay
()
MMOverlay class, base class for all other overlays. |
|
| Method Summary | |
void
|
draw( <MMViewer> mapviewer )
Abstract function called to make the overlay draw on the map. |
Function
|
getGeocodingCallback( mapviewer )
Creates a function closure to be used as a callback for geocoding. |
integer
|
getZIndex( <MMPoint> position, <integer> zIndex )
Retrieves a z-index value for the position passed in. |
void
|
move( <MMPoint> offset )
Function called to move the overlay after a small map move. |
void
|
redraw()
Abstract function called to redraw the overlay after a large move, zoom factor change or other event that results in a mapviewer redraw. |
void
|
remove()
Abstract function called to remove the overlay from the map. |
| Constructor Detail |
MMOverlay()
| Method Detail |
void draw( <MMViewer> mapviewer )
mapviewer - The mapviewer that the overlay is added to.
Function getGeocodingCallback( mapviewer )
integer getZIndex( <MMPoint> position, <integer> zIndex )
position - Position to retrieve the z-index for.
zIndex - The base z-index you want to give, for grouping items.
void move( <MMPoint> offset )
offset - Offset between old position and new. Positive X means the map centerpoint has moved to the right. Positive Y means the map centerpoint has moved down.
void redraw()
void remove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||