IlvObject | +--IlvEmptyView | +--IlvResizableView | +--IlvAbstractView | +--IlvTiledView
IlvTiledView
is a component that displays maps. Whereas
IlvView
uses one single image, this one uses a grid of tiles
IlvTiledView
to profit from browser's cache.Constructor Attributes | Constructor Name and Description |
---|---|
IlvTiledView(left, top, width, height, tileSize, namespace)
|
Method Attributes | Method Name and Description |
---|---|
addBeforeImageOnLoadListener(listener)
Adds a listener to be called when the dynamic layer view has loaded a new image, but
the image is not currently visible.
|
|
addCapabilitiesOnLoadListener(listener)
Adds a listener to be called when the capabilities have been loaded.
|
|
addImageOnLoadListener(listener)
Adds a listener to be called when the dynamic layer view has loaded
a new image.
|
|
addInteractorListener(listener)
Adds a listener to be called when an interactor has changed on the view
|
|
centerAt(x, y)
Queries new images centered at the specified point.
|
|
Creates the HTTP request for capabilities.
|
|
createImageMapRequestURL(qx, qy, qw, qh, width, height, layers)
Creates the URL for generating an image map.
|
|
createRequestURL(qx, qy, qw, qh, width, height, layers, format)
Creates the URL for the image request.
|
|
getCapabilities(reload, showAll, keepLayerVisibility, dynamicLayerRefresh)
Queries capabilities.
|
|
Returns the current zoom level of the view.
|
|
Retrieve dynamic layers
|
|
Returns the dynamic visible layers
|
|
Returns the background color of the generated image or
null if
not specified. |
|
Returns the format of the tile images generated from the server.
|
|
Returns an array of strings of available layers on the server.
|
|
Returns the bounding box of the manager on the server side.
|
|
Returns the maximum zoom level available on the server side.
|
|
Returns the message panel where the messages will be displayed.
|
|
Returns an array of string of all the layers that will be displayed on the
overview window.
|
|
Returns the factor used to pan.
|
|
Returns the pop-up menu on set this view.
|
|
Returns the
IlvRectangle object that can be used to draw a
rectangle on the view. |
|
Get request URL
|
|
Returns the
IlvSelectionManager for this view. |
|
Returns the static visible layers
|
|
Returns the automatic update interval of the dynamic layer.
|
|
Returns the current visible area of the manager.
|
|
Returns the visible dynamic and static visible layers
|
|
Returns the factor used when calling the
zoomIn and
zoomOut methods if and only if fixed zoom levels are not set. |
|
Retrieves the zoom levels as an array of double.
|
|
Hides the image map layer.
|
|
init()
Initializes the view.
|
|
Indicates if the automatic update will also update the capabilities.
|
|
Indicates if the capabilities have been loaded from the server.
|
|
Returns whether the view is constrained to the manager content bounds or not.
|
|
isDynamicLayer(layer)
Check if a layer is dynamic
|
|
Returns whether view bounding box equals the manager bounding box.
|
|
Indicates whether the component is generating an image map in addition to
the image.
|
|
isLayerVisible(layer)
Indicates if a layer is currently visible.
|
|
moveTo(x, y, noUpdate, animation)
Queries new images with the specified value for the top-left corner.
|
|
panEast()
Pans the image to the east.
|
|
panNorth()
Pans the image to the north.
|
|
Pans the image to the northeast.
|
|
Pans the image to the northwest.
|
|
panSouth()
Pans the image to the south.
|
|
Pans the image to the southeast.
|
|
Pans the image to the southwest.
|
|
panWest()
Pans the image to the west.
|
|
performAction(actionName, params, capabilities, capabilitiesParams)
Performs an action on the server side.
|
|
readAdditionalCapabilities(context)
Allows you to read additional information generated by the capabilities
request.
|
|
removeBeforeImageOnLoadListener(listener)
Removes a listener installed with addBeforeImageLoadedListener.
|
|
removeCapabilitiesOnLoadListener(listener)
Removes a listener installed with
addCapabilitiesOnLoadListener . |
|
removeImageOnLoadListener(listener)
Removes a listener installed with
addImageOnLoadListener . |
|
removeInteractorListener(listener)
Removes a listener installed with
addInteractorListener . |
|
Resets the timer that will invoke the session expiration handler.
|
|
When set to
true the automatic update will also update the
capabilities. |
|
setConstrainedOnContents(constrainedOnContents)
Defines whether the view is constrained to the manager content bounds or not.
|
|
setGenerateImageMap(set)
Tells the component to generate an image map in addition to the image.
|
|
setImageBackgroundColor(color)
Sets the background color of the generated image.
|
|
setImageFormat(format)
Sets the format of the tile images generated from the server,
the format can be the string JPEG or PNG.
|
|
setLayerVisible(layer, visible)
Hides or shows a layer by querying a new image from the server.
|
|
setMessagePanel(ilvHTMLPanel)
Sets the message panel where the message will be displayed
|
|
setPanFactor(factor)
Changes the factor used to pan.
|
|
setPopupMenu(popupMenu)
Sets the pop-up menu on this view.
|
|
setRequestURL(requestURL)
Set request URL
|
|
setSessionExpirationHandler(handler)
Sets a listener that will be called when the HTTP session is about to be invalidated.
|
|
setUpdateInterval(rate)
Changes the automatic update interval of the dynamic layer.
|
|
setViewBBox(x, y, w, h, scale, noUpdate)
Queries a new image showing the specified rectangle.
|
|
setZoomFactor(factor)
Changes the factor used when calling the
zoomIn and
zoomOut methods if and only if fixed zoom levels are not set. |
|
showAll()
Queries new images showing all the area available from the server.
|
|
Shows the image map layer.
|
|
update(noFullUpdate, delayedDynLayer)
Updates the view.
|
|
updateAll(showAll, keepLayerVisibility, dynamicLayerRefresh)
Queries new capabilities and a new image from the server.
|
|
Queries a new image from the server.
|
|
zoomBy(z)
Zooms the view to a specified factor by querying a new image from the server.
|
|
zoomIn()
Zooms the view in by querying a new image from the server.
|
|
zoomOut()
Zooms the view out by querying a new image from the server.
|
|
zoomToIdentity(nearZoomLevelAllowed)
Sets the identity transformer on the view.
|
getMaximumSize, getMinimumSize, isResizable, setHotkeys, setMaximumSize, setMinimumSize, setResizable, toHTML |
addSizeListener, getBounds, getHeight, getLeft, getLocation, getSize, getTop, getWidth, isStateInCookie, removeSizeListener, restoreState, saveState, setBounds, setLocation, setSize, setStateInCookie |
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
view : The IlvTiledView instance.
view: The IlvTiledView
.
view: The IlvTiledView
.
view: TheIlvTiledView
. oldInteractor: The old interactor (IlvInteractor
). newInteractor: The new interactor (IlvInteractor
).
null
if
not specified.
left
, top
,
width
, and height
. These properties define the manager bounding box as
floating point values.
This value is valid only when the capabilities have been loaded.
panEast
,
panWest
, panNorth
, panNorthEast
,
panNorthWest
,
panSouth
, panSouthEast
, and
panSouthWest
.
IlvRectangle
object that can be used to draw a
rectangle on the view. This method is especially useful for interactors that
can display the interaction using this rectangle.
IlvSelectionManager
for this view.
This manager allows to prevent an image query on each selection. It queries the server for selection updates and displays rectangles to represent the selection.
The most common use of this method are:
The selection manager is lazilly created. As a consequence, the current server selection is not shown on the client before a first call to this method.
left
, top
,
width
, and height
. These properties define the visible area as
floating point values.
zoomIn
and
zoomOut
methods if and only if fixed zoom levels are not set.
Otherwise this factor is unused.
onLoad
event of the page
containing the view.
true
.
Note that zoom levels (set by minZoomLevel
or zoomLevels
) lower than 1 will not be allowed if this property is set to true
.
ServerActionListener
) on the server side.
The action is defined by a name and a list of parameters.
Note that only the dynamic layers are updated.
getCapabilities
method
(if the capabilities
parameter is set to true
).
If this parameter is omitted, the array [false, false, true, true]
is used.
addCapabilitiesOnLoadListener
.
addImageOnLoadListener
.
addInteractorListener
.
true
the automatic update will also update the
capabilities.
true
.
Note that zoom levels (set by minZoomLevel
or zoomLevels
) lower than 1 will not be allowed if this property is set to true
.
true
to generate an image map; false
otherwise.
IlvHTMLPanel
.
panEast
, panWest
,
panNorth
,
panNorthEast
, panNorthWest
,
panSouth
, panSouthEast
, and
panSouthWest
.
This method works if and only if the session inactivity is reset by a JViews request. If the session inactivity is reset by an external request, the #resetSessionExpirationTimer method must be called.
This method must be called before the capabilities request is made.
zoomIn
and
zoomOut
methods if and only if fixed zoom levels are not set.
Otherwise this factor is unused.
The default value is 1.5.
true
the new image will show
all of the area available on the server.
true
the current layer's
visibility state is kept.
true
only the dynamic layer is refreshed after the capabilities are loaded.
false
).
true
if the transformation succeeded, false
otherwise.