org.geotools.map
Class FeatureSourceMapLayer

Object
  extended by MapLayer
      extended by FeatureSourceMapLayer

Deprecated. Please use MapLayer directly; or you are just interested in rendering a subclass of Layer

public class FeatureSourceMapLayer
extends MapLayer

Implementation of MapLayer without restricting the return type of MapLayer.getFeatureSource() allows better support of the DataAccess API;

This implementation does not support a collection or grid coverage source.

This implementation was almost entirely stolen from that of DefaultMapLayer.

Author:
Ben Caradoc-Davies, CSIRO Exploration and Mining

Field Summary
 
Fields inherited from class MapLayer
internal
 
Constructor Summary
FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource, Style style)
          Deprecated. Convenience constructor that sets title to the empty string.
FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource, Style style, String title)
          Deprecated. Constructor
 
Method Summary
 
Methods inherited from class MapLayer
addMapLayerListener, equals, getBounds, getFeatureSource, getQuery, getSource, getStyle, getTitle, hashCode, isSelected, isVisible, removeMapLayerListener, setQuery, setSelected, setStyle, setTitle, setVisible, toLayer, toString
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureSourceMapLayer

public FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource,
                             Style style,
                             String title)
Deprecated. 
Constructor

Parameters:
featureSource - the data source for this layer
style - the style used to represent this layer
title - the layer title

FeatureSourceMapLayer

public FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource,
                             Style style)
Deprecated. 
Convenience constructor that sets title to the empty string.

Parameters:
featureSource - the data source for this layer
style - the style used to represent this layer


Copyright © 1996-2014 Geotools. All Rights Reserved.