public class OverlayView extends MVCObject<OverlayView>
Modifier | Constructor and Description |
---|---|
protected |
OverlayView()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Invokes this.setMap()
|
void |
close()
Invokes this.setMap()
|
MapCanvasProjection |
getProjection()
Returns the MapCanvasProjection object associated with this OverlayView.
|
static OverlayView |
newInstance(MapWidget mapWidget,
OverlayViewOnDrawHandler onDrawHandler,
OverlayViewOnAddHandler onAddDandler,
OverlayViewOnRemoveHandler onRemoveHandler)
You should inherit from this class by setting your overlay's prototype to new OverlayView.prototype.
|
void |
setMap(MapWidget mapWidget)
set Map
|
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final OverlayView newInstance(MapWidget mapWidget, OverlayViewOnDrawHandler onDrawHandler, OverlayViewOnAddHandler onAddDandler, OverlayViewOnRemoveHandler onRemoveHandler)
OverlayView
public final void setMap(MapWidget mapWidget)
mapWidget
- public final void close()
public final void clear()
public final MapCanvasProjection getProjection()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.