public class FeatureSourceMapLayer extends MapLayer
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.
| Constructor and Description |
|---|
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
|
addMapLayerListener, equals, getBounds, getFeatureSource, getQuery, getSource, getStyle, getTitle, hashCode, isSelected, isVisible, removeMapLayerListener, setQuery, setSelected, setStyle, setTitle, setVisible, toLayer, toStringpublic FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource, Style style, String title)
featureSource - the data source for this layerstyle - the style used to represent this layertitle - the layer titlepublic FeatureSourceMapLayer(FeatureSource<? extends FeatureType,? extends Feature> featureSource, Style style)
featureSource - the data source for this layerstyle - the style used to represent this layerCopyright © 1996–2019 Geotools. All rights reserved.