|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.mapitz.gwt.googleMaps.client.GControl
public class GControl
Interface and factory for contols to control the Map (Zoom, Scale, etc...). Controls are added to the map using the GMap2.addControl() method.
In contrast to overlays, which are positioned relative to the map, controls are positioned relative to the map view, i.e. they don't move when the map moves.
| Method Summary | |
|---|---|
GControlPosition |
getDefaultPosition()
getDefaultPosition() GControlPosition Returns to the map the position in the map view at which the control appears by default. |
static GControl |
GLargeMapControl()
Creates a control with buttons to pan in four directions, and zoom in and zoom out, and a zoom slider. |
static GControl |
GMapTypeControl()
Creates a control with buttons to switch between map types. |
static GControl |
GScaleControl()
Creates a control that displays the map scale. |
static GControl |
GSmallMapControl()
Creates a control with buttons to pan in four directions, and zoom in and zoom out. |
GControl |
GSmallZoomControl()
Creates a control with buttons to zoom in and zoom out. |
com.google.gwt.user.client.Element |
initialize(GMap2 map)
initialize(map) Node Will be called by the map so the control can initialize itself. |
boolean |
printable()
printable() Boolean Returns to the map if the control should be printable. |
boolean |
selectable()
selectable() Boolean Returns to the map if the control contains selectable text. |
| 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 |
| Method Detail |
|---|
public static GControl GLargeMapControl()
public static GControl GMapTypeControl()
public static GControl GScaleControl()
public static GControl GSmallMapControl()
public GControl GSmallZoomControl()
public boolean printable()
public boolean selectable()
public com.google.gwt.user.client.Element initialize(GMap2 map)
public GControlPosition getDefaultPosition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||