org.wicketstuff.openlayers.api.layer
Class Layer
java.lang.Object
org.wicketstuff.openlayers.api.layer.Layer
- Direct Known Subclasses:
- GMap, OSM, Vector, WFS, WMS
public abstract class Layer
- extends Object
- Author:
- Nino Martinez Wael (nino.martinez@jayway.dk)
|
Constructor Summary |
Layer()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Layer
public Layer()
getName
public String getName()
setName
public void setName(String name)
getId
public String getId()
getJSAddLayer
public final String getJSAddLayer(IOpenLayersMap map)
bindHeaderContributors
public final void bindHeaderContributors(Component c)
bindHeaderContributors
protected abstract void bindHeaderContributors(org.apache.wicket.markup.head.IHeaderResponse response)
getJSconstructor
public abstract String getJSconstructor()
getJSOptionsMap
protected String getJSOptionsMap(Map<String,String> options)
- A helper to build the { ... } options list from a map.
- Parameters:
options -
- Returns:
getJSconstructor
protected String getJSconstructor(String javascriptTypeName,
List<String> parameterList)
- A convience method for the common initialization case.
- Parameters:
javascriptTypeName - options -
- Returns:
- the contextualized contstructor for the layer.
Copyright © 2008-2012. All Rights Reserved.