public class AjaxOpenLayersMap extends WebMarkupContainer implements IOpenLayersMap
ENABLE, FLAG_INITIALIZED, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING, RFLAG_CONTAINER_HAS_REMOVALS| Constructor and Description |
|---|
AjaxOpenLayersMap(String id,
List<Layer> layers) |
AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options) |
AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options,
List<Feature> features) |
AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options,
List<Feature> features,
List<FeatureStyle> featureStyles) |
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildrenadd, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic AjaxOpenLayersMap(String id, List<Layer> layers, HashMap<String,String> options)
public AjaxOpenLayersMap(String id, List<Layer> layers, HashMap<String,String> options, List<Feature> features)
public static void onPageRenderHead(IHeaderResponse response, String pathToOpenLayersJS)
public void setExternalControls(boolean externalControls)
setExternalControls in interface IOpenLayersMappublic boolean isExternalControls()
isExternalControls in interface IOpenLayersMappublic void setBounds(Bounds bounds)
setBounds in interface IOpenLayersMappublic Bounds getBounds()
getBounds in interface IOpenLayersMappublic void setCenter(LonLat center)
setCenter in interface IOpenLayersMappublic LonLat getCenter()
getCenter in interface IOpenLayersMappublic void setZoom(Integer zoom)
setZoom in interface IOpenLayersMappublic Integer getZoom()
getZoom in interface IOpenLayersMappublic void setCenter(LonLat center, Integer zoom)
setCenter in interface IOpenLayersMappublic IOpenLayersMap addControl(IJavascriptComponent control)
addControl in interface IOpenLayersMapcontrol - control to addpublic IOpenLayersMap addOverlay(Overlay overlay)
addOverlay in interface IOpenLayersMapoverlay - overlay to addpublic IOpenLayersMap addLayer(Layer layer)
layer - layer to addpublic IOpenLayersMap addFeature(Feature feature)
feature - feature to addpublic IOpenLayersMap addFeatureStyle(FeatureStyle featureStyle)
featureStyle - featureStyle to addpublic IOpenLayersMap removeFeatureStyle(FeatureStyle featureStyle)
public IOpenLayersMap clearOverlays()
clearOverlays in interface IOpenLayersMapprotected String getJSinit()
public String getJSinvoke(String invocation)
getJSinvoke in interface IOpenLayersMapinvocation - The JavaScript call to invoke on this AjaxOpenLayersMap.public String getJSinvokeNoLineEnd(String invocation)
getJSinvokeNoLineEnd in interface IOpenLayersMappublic IOpenLayersMap removeControl(IJavascriptComponent control)
removeControl in interface IOpenLayersMapcontrol - control to removepublic IOpenLayersMap removeOverlay(Overlay overlay)
removeOverlay in interface IOpenLayersMapoverlay - overlay to removepublic IOpenLayersMap removeFeature(Feature feature)
feature - feature to removepublic void update(AjaxRequestTarget target)
update in interface IOpenLayersMappublic List<Layer> getLayers()
getLayers in interface IOpenLayersMappublic List<IJavascriptComponent> getControls()
getControls in interface IOpenLayersMappublic String getJSInstance()
getJSInstance in interface IOpenLayersMappublic List<Overlay> getOverlays()
getOverlays in interface IOpenLayersMappublic void setLayers(List<Layer> layers)
setLayers in interface IOpenLayersMappublic void setOverlays(List<Overlay> overlays)
setOverlays in interface IOpenLayersMappublic void setBusinessLogicProjection(String businessLogicProjection)
setBusinessLogicProjection in interface IOpenLayersMappublic String getBusinessLogicProjection()
getBusinessLogicProjection in interface IOpenLayersMappublic void setMarkersLayerName(String markersLayerName)
public String getMarkersLayerName()
public void setVisibleOnlyLayers(String... names)
public void toggleLayer(String name)
Copyright © 2008–2020. All rights reserved.