org.geotools.map
Interface Map


Deprecated. Use Context instead.

public interface Map

Holds a set of FeatureCollections together with styles and a single output coordinate system.

Version:
$Id: Map.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
James Macgill, CCG

Method Summary
 void addFeatureTable(FeatureCollection fc, Style style)
          Deprecated. Adds a collection of features to this map together with a style specification.
 void removeFeatureTable(FeatureCollection fc)
          Deprecated.  
 void render(Renderer renderer, com.vividsolutions.jts.geom.Envelope envelope)
          Deprecated. Displays or outputs the portion of the map that falls within a specified envelope using the provided renderer.
 void setCoordinateSystem(org.opengis.cs.CS_CoordinateSystem cs)
          Deprecated. Sets the coordinate system to be used when outputting the features in this map.
 

Method Detail

setCoordinateSystem

public void setCoordinateSystem(org.opengis.cs.CS_CoordinateSystem cs)
Deprecated. 
Sets the coordinate system to be used when outputting the features in this map. The features being added to it may well have a variety of different coordinate systems.

Parameters:
cs - The single coordinate system that all features will be converted to for output.

addFeatureTable

public void addFeatureTable(FeatureCollection fc,
                            Style style)
Deprecated. 
Adds a collection of features to this map together with a style specification. The features need not have the same coordinate system as the one specified for this map, though it is strongly recommended that all features within the collection share a single coordinate system.

Parameters:
fc - The collection of features to add.
style - The style to apply to these features.
Task:
REVISIT: Confirm if single cs should be enforced., TODO: Rename this method addFeatureCollection.

removeFeatureTable

public void removeFeatureTable(FeatureCollection fc)
Deprecated. 

render

public void render(Renderer renderer,
                   com.vividsolutions.jts.geom.Envelope envelope)
Deprecated. 
Displays or outputs the portion of the map that falls within a specified envelope using the provided renderer.

Parameters:
renderer - The renderer which will produce the output.
envelope - The portion of the map to be rendered.


Copyright © GeoTools. All Rights Reserved.