com.mapitz.gwt.googleMaps.client
Class GMarker
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.mapitz.gwt.googleMaps.client.GOverlay
com.mapitz.gwt.googleMaps.client.GMarker
public class GMarker
- extends GOverlay
A GMarker marks a position on the map. It implements the GOverlay interface and thus is added to the map using the GMap2.addOverlay() method.
A marker object has a point, which is the geographical position where the marker is anchored on the map, and an icon. If the icon is not set in the constructor, the default icon G_DEFAULT_ICON is used.
After it is added to a map, the info window of that map can be opened through the marker. The marker object will fire mouse events and infowindow events.
- Author:
- aglaforge
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
create
public static GMarker create(GLatLng point,
GMarkerOptions opts)
create
public static GMarker create(GLatLng point)
openInfoWindow
public void openInfoWindow(com.google.gwt.user.client.Element content,
GInfoWindowOptions opts)
openInfoWindow
public void openInfoWindow(com.google.gwt.user.client.Element content)
openInfoWindowHtml
public void openInfoWindowHtml(java.lang.String content,
GInfoWindowOptions opts)
openInfoWindowHtml
public void openInfoWindowHtml(java.lang.String content)
openInfoWindowTabs
public void openInfoWindowTabs(GInfoWindowTab[] tabs,
GInfoWindowOptions opts)
openInfoWindowTabs
public void openInfoWindowTabs(GInfoWindowTab[] tabs)
openInfoWindowTabsHtml
public void openInfoWindowTabsHtml(GInfoWindowTab[] tabs,
GInfoWindowOptions opts)
openInfoWindowTabsHtml
public void openInfoWindowTabsHtml(GInfoWindowTab[] tabs)
showMapBlowup
public void showMapBlowup(GInfoWindowOptions opts)
showMapBlowup
public void showMapBlowup()
getIcon
public GIcon getIcon()
getPoint
public GLatLng getPoint()
setPoint
public void setPoint(GLatLng point)