IlvObject | +--IlvGoogleMapView
Constructor Attributes | Constructor Name and Description |
---|---|
IlvGoogleMapView(clientId, parentId)
|
Method Attributes | Method Name and Description |
---|---|
addCapabilitiesOnLoadListener(listener)
Adds a listener for capabilities
|
|
addImageOnLoadListener(listener)
Adds a listener invoked when the google map overlays are updated.
|
|
addSelectionChangedListener(listener)
Adds a listener for selection change
|
|
Capabilities loaded
|
|
commitSelectionProperties(sel, callback)
Validates changes done on the selection through a server request
|
|
Creates the capabilities request to send the servler
|
|
createImageRequestURL(qx, qy, qw, qh, tw, th, layerArray, format)
Creates an image request.
|
|
createListRequestURL(qx, qy, qw, qh, tw, th, layerArray)
Creates a request to get the list of symbols and their properties on layers/bounding boxes
|
|
createMarker(obj)
Create a Google map marker for the JSON object.
|
|
createMarkerIconRequestURL(objid)
Creates an image request for a symbol icon
|
|
createSelectRequestURL(objId, selectionType)
Creates a symbol selection request
|
|
Creates a single symbol property request
|
|
endCapabilitiesLoaded(capabilities)
(AJAX) Called when servlet returns capabilities.
|
|
Returns the absolute identifier of the server side JavaServer Faces component.
|
|
Sends an AJAX request to get capabilities
|
|
Returns all layers declared through capability requests
|
|
Utility method to retrieve the additional parameters that will be sent on all server requests
|
|
Constructs a selection object
|
|
Retrieves the object in charge of managing selection
|
|
(AJAX) Called when we receive information on a yet unknown symbol that has just been selected.
|
|
getTileUrl(p0, zl)
(AJAX) called through Google map.
|
|
Get the list of visible layers
|
|
Indicates if capabilities (i.e.
|
|
isDynamicLayer(layer)
Dynamic layers, as per capabilities
|
|
isLayerVisible(layer)
Indicates whether a layer is visible
|
|
Returns
true when the elements in the view can be moved. |
|
isReuseIcon(layer)
Indicates whether the reuse icon flag is set for the layer
|
|
isTiled()
We don't want tiled view behaviour
|
|
moveID(id, lat, lon)
Moves a marker.
|
|
IlvGoogleMapView.
onload(client)
Initializes the view.
|
|
performJSFAction(mb, params)
Performs an predefined action that will invoke the specified method binding.
|
|
removeCapabilitiesOnLoadListener(listener)
Removes a listener installed with
addCapabilitiesOnLoadListener . |
|
removeImageOnLoadListener(listener)
Removes a listener installed with
addImageOnLoadListener . |
|
removeSelectionChangedListener(listener)
Removes a listener installed with
addCapabilitiesOnLoadListener . |
|
selectID(id)
Selects a marker.
|
|
setAbsoluteId(absId)
Sets the absolute identifier of the server side JavaServer Faces component.
|
|
setCenter(lat, lon, level)
Sets the map initial center and zoom level.
|
|
setControls(list)
Sets the list of control classes.
|
|
setLayerVisible(layer, visible, update)
Changes the visibility state of a layer
|
|
setNodeMovable(nodeMovable)
Allows or forbids to move elements in the view.
|
|
setRequestParameters(key, value)
Utility method to register an additional parameter that will be sent on all server requests.
|
|
setReuseIcon(layer, reuse)
Indicates to reuse the marker icons for a specific layer.
|
|
setServletClass(servletClass)
Sets the class of the servlet that generates the image that will be instantiated, if needed,
by the controller servlet.
|
|
setServletURL(servletURL)
Sets the URL of the image generating servlet.
|
|
update(layerUpdated)
Refresh overlays
|
|
updateMarkers(layers, x, y, w, h)
Send an AJAX request to retrieve the list of symbols in the layer and bounding box passed
|
|
updateSymbol(s)
Create or replace a google map marker
|
|
updateSymbols(symbolList)
(AJAX) Called when the server returns the list of symbols.
|
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
true
when the elements in the view can be moved.
onLoad
event of the page
containing the view.
This action will be executed before the capabilities request.
The signature of the method must be void methodName (IlvDiagrammer, String[])
where
the first parameter is the IlvDiagrammer
instance used to draw the diagram and the second
parameter is the array of action parameters.
The action must only change the IlvDiagrammer
instance as only the image is refreshed (the JSF components are not).
If the view is a dashboard view, simply cast the IlvDiagrammer
into an IlvDashboardDiagram
.
addCapabilitiesOnLoadListener
.
addImageOnLoadListener
.
addCapabilitiesOnLoadListener
.
ilog.views.maps.servlet.IlvFacesMapsServlet
.