org.wicketstuff.openlayers
Class MapLayer
java.lang.Object
org.wicketstuff.openlayers.MapLayer
- All Implemented Interfaces:
- Serializable
public class MapLayer
- extends Object
- implements Serializable
This is experimental! It might be deleted without notice!
- Author:
- Marin Mandradjiev (marinsm@hotmail.com)
- See Also:
- Serialized Form
|
Method Summary |
void |
addFeature(String uniqKey,
Feature feature)
|
void |
addFeature(String uniqKey,
Feature feature,
FeatureStyle featureStyle)
|
void |
addFeature(String uniqKey,
Feature feature,
String baseFeatureUniqKey,
String color)
|
void |
addFeatureStyle(String uniqKey,
FeatureStyle featureStyle)
|
void |
addMarker(String uniqKey,
Marker marker)
|
void |
cleanMapPanel(Object... values)
|
String |
getBusinessLogicProjection()
|
LonLat |
getCenter()
|
Feature |
getFeature(String uniqKey)
|
Set<String> |
getFeatureIdList()
|
FeatureStyle |
getFeatureStyle(String uniqKey)
|
Set<String> |
getFeatureStyleIdList()
|
AjaxOpenLayersMap |
getMapPanel()
|
AjaxOpenLayersMap |
getMapPanel(String id,
List<Layer> layers,
HashMap<String,String> options)
|
Marker |
getMarker(String uniqKey)
|
Set<String> |
getMarkerIdList()
|
String |
getMarkersLayerName()
|
Integer |
getZoom()
|
protected void |
init(Object... values)
|
void |
removeFeature(String uniqKey)
|
void |
removeFeatureStyle(String uniqKey)
|
void |
removeMarker(String uniqKey)
|
void |
reset()
|
void |
setBusinessLogicProjection(String businessLogicProjection)
|
void |
setCenter(Double longitude,
Double latitude)
|
void |
setCenter(IMapCenter mapCenter)
|
void |
setCenter(LonLat center)
|
void |
setMarkersLayerName(String markersLayerName)
|
void |
setZoom(Integer zoom)
|
void |
updateInitLocation()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapLayer
public MapLayer(IMapCenter init_location,
Object... values)
init
protected void init(Object... values)
addMarker
public void addMarker(String uniqKey,
Marker marker)
getMarker
public Marker getMarker(String uniqKey)
removeMarker
public void removeMarker(String uniqKey)
addFeature
public void addFeature(String uniqKey,
Feature feature)
addFeature
public void addFeature(String uniqKey,
Feature feature,
String baseFeatureUniqKey,
String color)
addFeature
public void addFeature(String uniqKey,
Feature feature,
FeatureStyle featureStyle)
getFeature
public Feature getFeature(String uniqKey)
removeFeature
public void removeFeature(String uniqKey)
addFeatureStyle
public void addFeatureStyle(String uniqKey,
FeatureStyle featureStyle)
getFeatureStyle
public FeatureStyle getFeatureStyle(String uniqKey)
removeFeatureStyle
public void removeFeatureStyle(String uniqKey)
setCenter
public void setCenter(IMapCenter mapCenter)
setCenter
public void setCenter(Double longitude,
Double latitude)
setCenter
public void setCenter(LonLat center)
getCenter
public LonLat getCenter()
setZoom
public void setZoom(Integer zoom)
getZoom
public Integer getZoom()
setBusinessLogicProjection
public void setBusinessLogicProjection(String businessLogicProjection)
getBusinessLogicProjection
public String getBusinessLogicProjection()
setMarkersLayerName
public void setMarkersLayerName(String markersLayerName)
getMarkersLayerName
public String getMarkersLayerName()
updateInitLocation
public void updateInitLocation()
getMapPanel
public AjaxOpenLayersMap getMapPanel(String id,
List<Layer> layers,
HashMap<String,String> options)
getMapPanel
public AjaxOpenLayersMap getMapPanel()
reset
public void reset()
cleanMapPanel
public void cleanMapPanel(Object... values)
getMarkerIdList
public final Set<String> getMarkerIdList()
getFeatureIdList
public final Set<String> getFeatureIdList()
getFeatureStyleIdList
public final Set<String> getFeatureStyleIdList()
Copyright © 2008-2012. All Rights Reserved.