|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gwtext.client.core.JsObject com.gwtext.client.widgets.map.Marker
public class Marker
A marker pin.
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
Marker(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
Marker(LatLonPoint point)
Create a new Marker. |
Method Summary | |
---|---|
void |
hide()
Hide the marker. |
static Marker |
instance(com.google.gwt.core.client.JavaScriptObject jsObj)
|
void |
openBubble()
Opens the infoBubble. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
void |
setChild(com.google.gwt.core.client.JavaScriptObject proprietaryMarker)
|
void |
setIcon(java.lang.String iconUrl)
Sets the icon for a marker. |
void |
setInfoBubble(com.google.gwt.user.client.Element element)
Sets the info bubble to be the specified Element. |
void |
setInfoBubble(java.lang.String html)
The html/text content for a bubble popup for a marker. |
void |
setInfoBubble(com.google.gwt.user.client.ui.Widget widget)
Sets the info bubble to be a Widget. |
void |
setInfoDiv(java.lang.String html,
java.lang.String divID)
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(java.lang.String labelText)
Set the label of the marker. |
void |
show()
Show the marker. |
com.google.gwt.core.client.JavaScriptObject |
toFreeEarth()
A FreeEarth compatible Marker. |
com.google.gwt.core.client.JavaScriptObject |
toGoogle()
A Google Maps compatible Marker. |
com.google.gwt.core.client.JavaScriptObject |
toMap24()
A Map24 Marker. |
com.google.gwt.core.client.JavaScriptObject |
toMapQuest()
A MapQuest compatible Marker. |
com.google.gwt.core.client.JavaScriptObject |
toMicrosoft()
A Microsoft Virtual Earth compatible Marker. |
com.google.gwt.core.client.JavaScriptObject |
toMultiMap()
A MultiMap compatible Marker. |
com.google.gwt.core.client.JavaScriptObject |
toOpenLayers()
An OpenLayers compatible Marker. |
com.google.gwt.core.client.JavaScriptObject |
toYahoo()
A Yahoo compatible Marker. |
Methods inherited from class com.gwtext.client.core.JsObject |
---|
getJsObj, getProperties, isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Marker(LatLonPoint point)
point
- the LatLonPointpublic Marker(com.google.gwt.core.client.JavaScriptObject jsObj)
Method Detail |
---|
public static Marker instance(com.google.gwt.core.client.JavaScriptObject jsObj)
public void hide()
public void openBubble()
public void setAttribute(java.lang.String name, java.lang.Object value)
public void setChild(com.google.gwt.core.client.JavaScriptObject proprietaryMarker)
public void setIcon(java.lang.String iconUrl)
iconUrl
- the icon urlpublic void setInfoBubble(java.lang.String html)
html
- the html/text content for a bubble popup for a markerpublic void setInfoBubble(com.google.gwt.user.client.ui.Widget widget)
setInfoBubble(String)
.
widget
- the widget to add to the info bubble.public void setInfoBubble(com.google.gwt.user.client.Element element)
setInfoBubble(String)
.
widget
- the widget to add to the info bubble.public void setInfoDiv(java.lang.String html, java.lang.String divID)
html
- the html/text you want displayeddivID
- the element id to use for displaying the text/htmlpublic void setLabel(java.lang.String labelText)
labelText
- the label textpublic void show()
public com.google.gwt.core.client.JavaScriptObject toFreeEarth()
toFreeEarth
in interface MapProviders
public com.google.gwt.core.client.JavaScriptObject toGoogle()
toGoogle
in interface MapProviders
public com.google.gwt.core.client.JavaScriptObject toMap24()
toMap24
in interface MapProviders
public com.google.gwt.core.client.JavaScriptObject toMapQuest()
public com.google.gwt.core.client.JavaScriptObject toMicrosoft()
toMicrosoft
in interface MapProviders
public com.google.gwt.core.client.JavaScriptObject toMultiMap()
toMultiMap
in interface MapProviders
public com.google.gwt.core.client.JavaScriptObject toOpenLayers()
toOpenLayers
in interface MapProviders
public com.google.gwt.core.client.JavaScriptObject toYahoo()
toYahoo
in interface MapProviders
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |