public class OpenLayersMap extends Object
Modifier and Type | Field and Description |
---|---|
static org.gwtopenmaps.openlayers.client.Bounds |
defaultBounds |
static String |
defaultProjection |
protected static int |
MAX_ZINDEX |
Constructor and Description |
---|
OpenLayersMap(String w,
String h,
int numZoomLevels,
String title,
OpenLayersHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
activateClickData(boolean isActivate) |
void |
activateDrawBoxControl() |
void |
activateDrawBoxControl(boolean isActivate) |
void |
activatePan(boolean isActivate) |
void |
activateTransectDraw(boolean isActivate) |
void |
activateZoomIn(boolean isActivate) |
void |
activateZoomOut() |
void |
addBaseLayersToOpenLayerMap(List<GisViewerBaseLayerInterface> layers) |
void |
addLayerItemByWms(LayerItem layerItem,
boolean displayInLayerSwitcher) |
void |
addLayerItems(List<LayerItem> layerItems,
boolean toTop) |
void |
addPoint(double x,
double y) |
void |
addToolBar(ToolBarPanel toolBarPanel) |
void |
changeSize(String w,
String h) |
void |
deactivateDrawBoxControl() |
LayerItem |
getActiveBaseLayer() |
com.extjs.gxt.ui.client.widget.ContentPanel |
getContentPanel() |
com.google.gwt.user.client.ui.Widget |
getDockPanel() |
org.gwtopenmaps.openlayers.client.Bounds |
getExtent() |
String |
getFieldTransect() |
List<LayerItem> |
getLayerItems() |
int |
getMapHeight() |
MapViewInfo |
getMapViewInfo() |
org.gwtopenmaps.openlayers.client.MapWidget |
getMapWidget() |
int |
getMapWidth() |
org.gwtopenmaps.openlayers.client.Bounds |
getMaxExtent() |
String |
getProjection() |
String |
getTableTransect() |
void |
removeCqlFilter(LayerItem layerItem) |
void |
removeDataFeature() |
void |
removeLayer(LayerItem layerItem) |
void |
reproject(String proj) |
void |
resetBaseLayerToOpenLayerMap() |
void |
setCqlFilter(LayerItem layerItem,
String filter) |
void |
setFieldTransect(String fieldTransect) |
void |
setNewStyle(LayerItem layerItem,
String newStyle) |
void |
setOpacity(LayerItem layerItem,
double opacity) |
void |
setTableTransect(String layerTransect) |
void |
setTransectUrl(String transectUrl) |
void |
setVisibility(LayerItem layerItem,
boolean visible) |
void |
updateLayersOrder() |
void |
updateSize() |
void |
zoomOut() |
void |
zoomToMaxExtent() |
protected static final int MAX_ZINDEX
public static org.gwtopenmaps.openlayers.client.Bounds defaultBounds
public static String defaultProjection
public OpenLayersMap(String w, String h, int numZoomLevels, String title, OpenLayersHandler handler)
public void activateZoomOut()
public void addToolBar(ToolBarPanel toolBarPanel)
toolBarPanel2
- public com.google.gwt.user.client.ui.Widget getDockPanel()
public com.extjs.gxt.ui.client.widget.ContentPanel getContentPanel()
public void setOpacity(LayerItem layerItem, double opacity)
public void setVisibility(LayerItem layerItem, boolean visible)
public void reproject(String proj)
public void zoomToMaxExtent()
public String getProjection()
public org.gwtopenmaps.openlayers.client.Bounds getMaxExtent()
public org.gwtopenmaps.openlayers.client.Bounds getExtent()
public void activateTransectDraw(boolean isActivate)
public void activateClickData(boolean isActivate)
public void activateDrawBoxControl(boolean isActivate)
public void activateZoomIn(boolean isActivate)
public void activatePan(boolean isActivate)
public void removeCqlFilter(LayerItem layerItem)
public void setTableTransect(String layerTransect)
public String getTableTransect()
public void setFieldTransect(String fieldTransect)
public String getFieldTransect()
public void updateSize()
public int getMapWidth()
public int getMapHeight()
public org.gwtopenmaps.openlayers.client.MapWidget getMapWidget()
public void addPoint(double x, double y)
public MapViewInfo getMapViewInfo()
public void updateLayersOrder()
public void removeLayer(LayerItem layerItem)
layerItem
- public void resetBaseLayerToOpenLayerMap()
public void addBaseLayersToOpenLayerMap(List<GisViewerBaseLayerInterface> layers)
public void setTransectUrl(String transectUrl)
result
- public void deactivateDrawBoxControl()
public void activateDrawBoxControl()
public void addLayerItemByWms(LayerItem layerItem, boolean displayInLayerSwitcher)
layerItem
- displayInLayerSwitcher
- public LayerItem getActiveBaseLayer()
public void zoomOut()
public void removeDataFeature()
Copyright © 2014. All Rights Reserved.