|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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 |
Object attributes
Object location
Object onmap
Object pinID
Object proprietary_marker
| Constructor Detail |
Marker(<LatLonPoint> point)
point - the point on the map where the marker should go
| Method Detail |
Object getAttribute(key)
void hide()
void openBubble()
void setAttribute(key,value)
void setChild(some_proprietary_marker)
void setIcon(<String> iconUrl)
iconUrl - The URL of the image you want to be the icon
void setInfoBubble(<String> infoBubble)
infoBubble - the html/text you want displayed
void setInfoDiv(<String> infoDiv,<String> div)
infoDiv - the html/text you want displayed
div - the element id to use for displaying the text/html
void setLabel(labelText)
void show()
Object toFreeEarth()
Object toGoogle()
Object toMapQuest()
Object toMicrosoft()
Object toMultiMap()
Object toYahoo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||