public class GroundOverlay extends MVCObject<GroundOverlay>
Modifier | Constructor and Description |
---|---|
protected |
GroundOverlay()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addClickHandler(ClickMapHandler handler)
This event is fired when the DOM click event is fired on the GroundOverlay.
|
LatLngBounds |
getBounds()
Returns the bounds of this groundoverlay.
|
MapWidget |
getMap()
Returns the map on which this groundoverlay is displayed.
|
String |
getUrl()
Gets the url of the projected image.
|
static GroundOverlay |
newInstance(String url,
LatLngBounds bounds,
GroundOverlayOptions options)
Creates a ground overlay from the provided image URL and its LatLngBounds.
|
void |
setMap(MapWidget mapWidget)
Renders the groundoverlay on the specified map.
|
void |
setOpacity(double opacityValue)
Sets the opacity of this ground overlay.
|
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final GroundOverlay newInstance(String url, LatLngBounds bounds, GroundOverlayOptions options)
url
- bounds
- options
- public final LatLngBounds getBounds()
public final void setMap(MapWidget mapWidget)
mapWidget
- public final MapWidget getMap()
public final void setOpacity(double opacityValue)
public final String getUrl()
public final HandlerRegistration addClickHandler(ClickMapHandler handler)
handler
- Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.