Class Marker

Object
   |
   +--Marker

class Marker

Defined in mapstraction.js


Field Summary
 Object attributes
          
 Object location
          
 Object onmap
          
 Object pinID
          
 Object proprietary_marker
          
 
Constructor Summary
Marker(<LatLonPoint> point)
            Marker create's a new marker pin
 
Method Summary
 Object getAttribute(key)
           getAttribute: gets the value of "key"
 void hide()
           hide the marker
 void openBubble()
           openBubble opens the infoBubble
 void setAttribute(key,value)
           setAttribute: set an arbitrary key/value pair on a marker
 void setChild(some_proprietary_marker)
          
 void setIcon(<String> iconUrl)
           setIcon sets the icon for a marker
 void setInfoBubble(<String> infoBubble)
           setInfoBubble sets the html/text content for a bubble popup for a marker
 void setInfoDiv(<String> infoDiv,<String> div)
           setInfoDiv sets the text and the id of the div element where to the information useful for putting information in a div outside of the map
 void setLabel(labelText)
          
 void show()
           show the marker
 Object toFreeEarth()
           toFreeEarth returns a FreeEarth compatible marker pin
 Object toGoogle()
           toGoogle returns a Google Maps compatible marker pin
 Object toMapQuest()
           toMapQuest returns a MapQuest compatible marker pin
 Object toMicrosoft()
           toMicrosoft returns a MSFT VE compatible marker pin
 Object toMultiMap()
           toMultiMap returns a MultiMap compatible marker pin
 Object toYahoo()
           toYahoo returns a Yahoo Maps compatible marker pin

Field Detail

attributes

Object attributes

location

Object location

onmap

Object onmap

pinID

Object pinID

proprietary_marker

Object proprietary_marker

Constructor Detail

Marker

Marker(<LatLonPoint> point)

Method Detail

getAttribute

Object getAttribute(key)

hide

void hide()

openBubble

void openBubble()

setAttribute

void setAttribute(key,value)

setChild

void setChild(some_proprietary_marker)

setIcon

void setIcon(<String> iconUrl)

setInfoBubble

void setInfoBubble(<String> infoBubble)

setInfoDiv

void setInfoDiv(<String> infoDiv,<String> div)

setLabel

void setLabel(labelText)

show

void show()

toFreeEarth

Object toFreeEarth()

toGoogle

Object toGoogle()

toMapQuest

Object toMapQuest()

toMicrosoft

Object toMicrosoft()

toMultiMap

Object toMultiMap()

toYahoo

Object toYahoo()


Documentation generated by JSDoc on Mon May 21 15:24:17 2007