public class GisViewerParameters extends Object
| Constructor and Description |
|---|
GisViewerParameters()
Instantiates a new gis viewer parameters.
|
GisViewerParameters(String projection,
GisViewerSaveHandler gisViewerSaveHandler)
Instantiates a new gis viewer parameters.
|
GisViewerParameters(String projection,
GisViewerSaveHandler gisViewerSaveHandler,
DataPanelOpenListener dataPanelOpenHandler,
boolean openDataPanelAtStart,
boolean openLayerPanelAtStart,
org.gwtopenmaps.openlayers.client.LonLat centerMapTo,
Integer initZoomTo)
Instantiates a new gis viewer parameters.
|
| Modifier and Type | Method and Description |
|---|---|
org.gwtopenmaps.openlayers.client.LonLat |
getCenterMapTo()
Gets the center map to.
|
DataPanelOpenListener |
getDataPanelOpenHandler()
Gets the data panel open handler.
|
GisViewerSaveHandler |
getGisViewerSaveHandler()
Gets the gis viewer save handler.
|
Integer |
getInitZoomTo()
Gets the inits the zoom to.
|
String |
getProjection()
Gets the projection.
|
boolean |
isOpenDataPanelAtStart()
Checks if is open data panel at start.
|
boolean |
isOpenLayerPanelAtStart()
Checks if is open layer panel at start.
|
void |
setCenterMapTo(org.gwtopenmaps.openlayers.client.LonLat centerMapTo)
Sets the center map to.
|
void |
setDataPanelOpenHandler(DataPanelOpenListener dataPanelOpenHandler)
Sets the data panel open handler.
|
void |
setDataPanelOpenListener(DataPanelOpenListener dataPanelOpenHandler)
Sets the data panel open listener.
|
void |
setGisViewerSaveHandler(GisViewerSaveHandler gisViewerSaveHandler)
Sets the gis viewer save handler.
|
void |
setInitZoomTo(Integer initZoomTo)
Sets the inits the zoom to.
|
void |
setOpenDataPanelAtStart(boolean openDataPanelAtStart)
Sets the open data panel at start.
|
void |
setOpenLayerPanelAtStart(boolean openLayerPanelAtStart)
Sets the open layer panel at start.
|
void |
setProjection(String projection)
Sets the projection.
|
public GisViewerParameters()
public GisViewerParameters(String projection, GisViewerSaveHandler gisViewerSaveHandler)
projection - the projectiongisViewerSaveHandler - the gis viewer save handlerpublic GisViewerParameters(String projection, GisViewerSaveHandler gisViewerSaveHandler, DataPanelOpenListener dataPanelOpenHandler, boolean openDataPanelAtStart, boolean openLayerPanelAtStart, org.gwtopenmaps.openlayers.client.LonLat centerMapTo, Integer initZoomTo)
projection - the projectiongisViewerSaveHandler - the gis viewer save handlerdataPanelOpenHandler - the data panel open handleropenDataPanelAtStart - the open data panel at startopenLayerPanelAtStart - the open layer panel at startcenterMapTo - the center map toinitZoomTo - the init zoom topublic boolean isOpenLayerPanelAtStart()
public void setOpenLayerPanelAtStart(boolean openLayerPanelAtStart)
openLayerPanelAtStart - the new open layer panel at startpublic void setProjection(String projection)
projection - the new projectionpublic String getProjection()
public void setGisViewerSaveHandler(GisViewerSaveHandler gisViewerSaveHandler)
gisViewerSaveHandler - the new gis viewer save handlerpublic GisViewerSaveHandler getGisViewerSaveHandler()
public boolean isOpenDataPanelAtStart()
public void setOpenDataPanelAtStart(boolean openDataPanelAtStart)
openDataPanelAtStart - the openDataPanelAtStart to setpublic void setDataPanelOpenListener(DataPanelOpenListener dataPanelOpenHandler)
dataPanelOpenHandler - the dataPanelOpenHandler to setpublic DataPanelOpenListener getDataPanelOpenHandler()
public org.gwtopenmaps.openlayers.client.LonLat getCenterMapTo()
public void setCenterMapTo(org.gwtopenmaps.openlayers.client.LonLat centerMapTo)
centerMapTo - the new center map topublic Integer getInitZoomTo()
public void setInitZoomTo(Integer initZoomTo)
initZoomTo - the new inits the zoom topublic void setDataPanelOpenHandler(DataPanelOpenListener dataPanelOpenHandler)
dataPanelOpenHandler - the new data panel open handlerCopyright © 2020. All Rights Reserved.