addLayer(int index, MapLayer layer) Add a new layer if not already present and trigger a
LayerListEvent .
Parameters: index - DOCUMENT ME! Parameters: layer - Then new layer that has been added.
public boolean
addLayer(MapLayer layer) Add a new layer and trigger a
LayerListEvent .
Parameters: layer - Then new layer that has been added.
setAreaOfInterest(Envelope areaOfInterest, CoordinateReferenceSystem coordinateReferenceSystem) Set a new area of interest and trigger a
BoundingBoxEvent .
public void
setAreaOfInterest(Envelope areaOfInterest) Set a new area of interest and trigger an
BoundingBoxEvent .
public boolean addLayer(int index, MapLayer layer)(Code)
Add a new layer if not already present and trigger a
LayerListEvent .
Parameters: index - DOCUMENT ME! Parameters: layer - Then new layer that has been added. DOCUMENT ME!
Return the requested layer.
Parameters: index - index of layer to return. the layer at the specified position throws: IndexOutOfBoundsException - if the index is out of range
Get the bounding box of all the layers in this MapContext. If all the
layers cannot determine the bounding box in the speed required for each
layer, then null is returned. The bounds will be expressed in the
MapContext coordinate system.
The bounding box of the features or null if unknown and tooexpensive for the method to calculate. TODO: when coordinatesystem information will be added reproject the bounds accordingto the current coordinate system throws: IOException - DOCUMENT ME!
Removes PropertyChangeListener from the list of listeners.
Parameters: listener - The listener to remove.
setAbstract
public void setAbstract(String abstractValue)(Code)
Setter for property abstracts.
Parameters: abstractValue - New value of property abstracts. throws: NullPointerException - DOCUMENT ME!
setAreaOfInterest
public void setAreaOfInterest(Envelope areaOfInterest, CoordinateReferenceSystem coordinateReferenceSystem) throws IllegalArgumentException(Code)
Set a new area of interest and trigger a
BoundingBoxEvent .
Parameters: areaOfInterest - The new areaOfInterest. Parameters: coordinateReferenceSystem - The coordinate system being using by this model. throws: IllegalArgumentException - if an argument is null.
setAreaOfInterest
public void setAreaOfInterest(Envelope areaOfInterest)(Code)
Set a new area of interest and trigger an
BoundingBoxEvent .
Parameters: areaOfInterest - The new area of interest. throws: IllegalArgumentException - if an argument is null.
Set a new area of interest and trigger an
BoundingBoxEvent .
Parameters: areaOfInterest - The new area of interest. throws: NullPointerException - DOCUMENT ME!
setContactInformation
public void setContactInformation(String contactInformation)(Code)
Setter for property contactInformation.
Parameters: contactInformation - New value of property contactInformation. throws: NullPointerException - DOCUMENT ME!
setCoordinateReferenceSystem
public void setCoordinateReferenceSystem(CoordinateReferenceSystem crs) throws TransformException, FactoryException(Code)
Transform the coordinates according to the provided transform. Useful for
zooming and panning processes.
Parameters: transform - The transform to change area of interest.