|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.MVCObject
com.google.maps.gwt.client.GroundOverlay
public class GroundOverlay
A rectangular image overlay on the map. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Nested Class Summary | |
---|---|
static interface |
GroundOverlay.ClickHandler
This event is fired when the DOM click event is fired on the GroundOverlay
. |
static interface |
GroundOverlay.DblClickHandler
This event is fired when the DOM dblclick event is fired on the GroundOverlay
. |
Constructor Summary | |
---|---|
protected |
GroundOverlay()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
void |
addClickListener(GroundOverlay.ClickHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addClickListenerOnce(GroundOverlay.ClickHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addDblClickListener(GroundOverlay.DblClickHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addDblClickListenerOnce(GroundOverlay.DblClickHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
clearClickListeners()
Removes all listeners for the given event for the given instance. |
void |
clearDblClickListeners()
Removes all listeners for the given event for the given instance. |
void |
clearInstanceListeners()
Removes all listeners for all events for the given instance. |
static GroundOverlay |
create(java.lang.String url,
LatLngBounds bounds)
Creates a ground overlay from the provided image URL and its LatLngBounds
. |
static GroundOverlay |
create(java.lang.String url,
LatLngBounds bounds,
GroundOverlayOptions opts)
Creates a ground overlay from the provided image URL and its LatLngBounds
. |
LatLngBounds |
getBounds()
Gets the LatLngBounds
of this overlay. |
GoogleMap |
getMap()
Returns the map on which this ground overlay is displayed. |
double |
getOpacity()
Returns the opacity of this ground overlay. |
java.lang.String |
getUrl()
Gets the url of the projected image. |
void |
setMap(GoogleMap map)
Renders the ground overlay on the specified map. |
void |
setOpacity(double opacity)
Sets the opacity of this ground overlay. |
void |
triggerClick(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerDblClick(JavaScriptObject... varargs)
Triggers the given event. |
Methods inherited from class com.google.maps.gwt.client.MVCObject |
---|
bindTo, bindTo, bindTo, bindTo, changed, create, get, notify, set, setValues, setValues, unbind, unbindAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GroundOverlay()
Method Detail |
---|
public static GroundOverlay create(java.lang.String url, LatLngBounds bounds, GroundOverlayOptions opts)
LatLngBounds
. The image is scaled to fit the current bounds, and projected using
the current map projection.
public static GroundOverlay create(java.lang.String url, LatLngBounds bounds)
LatLngBounds
. The image is scaled to fit the current bounds, and projected using
the current map projection.
public final void addClickListener(GroundOverlay.ClickHandler handler)
public final void addClickListenerOnce(GroundOverlay.ClickHandler handler)
public final void addDblClickListener(GroundOverlay.DblClickHandler handler)
public final void addDblClickListenerOnce(GroundOverlay.DblClickHandler handler)
public final void clearClickListeners()
public final void clearDblClickListeners()
public final void clearInstanceListeners()
public final LatLngBounds getBounds()
LatLngBounds
of this overlay.
public final GoogleMap getMap()
public final double getOpacity()
public final java.lang.String getUrl()
public final void setMap(GoogleMap map)
public final void setOpacity(double opacity)
public final void triggerClick(JavaScriptObject... varargs)
public final void triggerDblClick(JavaScriptObject... varargs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |