|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectWidget
org.gwtopenmaps.openlayers.client.MapWidget
public class MapWidget
See Map.
| Constructor Summary | |
|---|---|
MapWidget(java.lang.String width,
java.lang.String height)
Programmatically creates the element that will contain the map, with the given width and height. |
|
MapWidget(java.lang.String width,
java.lang.String height,
MapOptions options)
Programmatically creates the element that will contain the map, with the given width and height. |
|
| Method Summary | |
|---|---|
Map |
getMap()
Gets the map associated with a MapWidget instance. |
protected void |
onAttach()
|
protected void |
onLoad()
|
void |
setHeight(java.lang.String height)
|
void |
setWidth(java.lang.String width)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapWidget(java.lang.String width,
java.lang.String height)
getMap().
width - - a String with the width of the element that will contain the map in CSS units.height - - a String with the height of the element that will contain the map in CSS units.
public MapWidget(java.lang.String width,
java.lang.String height,
MapOptions options)
getMap().
width - - a String with the width of the element that will contain the map in CSS units.height - - a String with the height of the element that will contain the map in CSS units.options - - null if no options should be set upon map instantiation
or a MapOptions object that is passed to the map upon instantiation.| Method Detail |
|---|
public Map getMap()
Map.public void setHeight(java.lang.String height)
public void setWidth(java.lang.String width)
protected void onAttach()
protected void onLoad()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||