Class MMMarkerOverlay

Object
   |
   +--MMOverlay
         |
         +--MMMarkerOverlay

class MMMarkerOverlay
extends MMOverlay

Defined in MultimapAPI


Constructor Summary
MMMarkerOverlay ( <MMLocation> position, <MMMarkerOptions> options )
            MMMarkerOverlay class, for drawing small markers on the map.
 
Method Summary
 void closeInfoBox()
           Closes the info box attached to this marker.
 mixed getOption( <String> name )
           Retrieves the value of an option that was set in the constructor or the reset() method.
 MMLocation getPosition()
           Returns the geographical position that the marker is anchored to, as set in the constructor, by reset() or as the result of a marker drag.
 boolean hasInfoBoxContent()
           Function to detect whether info box content has been assigned to this marker.
 boolean isInfoBoxOpened()
           Used to check whether a marker has an open info box attached.
 MMInfoBoxOverlay openInfoBox( <Object> html, <MMInfoBoxOptions> options )
           Opens an info box for this marker.
 void reset( <MMLocation> position, <MMMarkerOptions> options, <Boolean> reopen )
           Allows the properties of a marker to be reset.
 void setInfoBoxContent( <Object> html, <MMInfoBoxOptions> options )
           Sets the info box content for a marker.
 Object setVisibility( <boolean> visible )
           Sets the visibility of a marker; can be used when you just want to quickly hide a marker, rather than completely remove it from the viewer.
 
Methods inherited from class MMOverlay
getGeocodingCallback, getZIndex, getAttribute, setAttribute, copyAttributesTo
 

Constructor Detail

MMMarkerOverlay

MMMarkerOverlay( <MMLocation> position, <MMMarkerOptions> options )

Method Detail

closeInfoBox

void closeInfoBox()

getOption

mixed getOption( <String> name )

getPosition

MMLocation getPosition()

hasInfoBoxContent

boolean hasInfoBoxContent()

isInfoBoxOpened

boolean isInfoBoxOpened()

openInfoBox

MMInfoBoxOverlay openInfoBox( <Object> html, <MMInfoBoxOptions> options )

reset

void reset( <MMLocation> position, <MMMarkerOptions> options, <Boolean> reopen )

setInfoBoxContent

void setInfoBoxContent( <Object> html, <MMInfoBoxOptions> options )

setVisibility

Object setVisibility( <boolean> visible )


Documentation generated by JSDoc on Tue Jun 30 13:55:23 2009