public class DefaultMapLayer extends MapLayer
| Constructor and Description |
|---|
DefaultMapLayer(CollectionSource source,
Style style,
String title)
Deprecated.
|
DefaultMapLayer(Collection collection,
Style style)
Deprecated.
|
DefaultMapLayer(Collection collection,
Style style,
String title)
Deprecated.
|
DefaultMapLayer(FeatureCollection collection,
Style style)
Deprecated.
Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
|
DefaultMapLayer(FeatureCollection collection,
Style style,
String title)
Deprecated.
Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
|
DefaultMapLayer(FeatureSource featureSource,
Style style)
Deprecated.
Creates a new instance of DefaultMapLayer
|
DefaultMapLayer(FeatureSource featureSource,
Style style,
String title)
Deprecated.
Creates a new instance of DefaultMapLayer
|
DefaultMapLayer(GridCoverage2DReader reader,
Style style)
Deprecated.
Constructor which adds a new layer and triggers a
LayerListEvent. |
DefaultMapLayer(GridCoverage2DReader reader,
Style style,
String title)
Deprecated.
Constructor which adds a new layer and trigger a
LayerListEvent. |
DefaultMapLayer(GridCoverage2DReader reader,
Style style,
String title,
GeneralParameterValue[] params)
Deprecated.
Constructor which adds a new layer and trigger a
LayerListEvent. |
DefaultMapLayer(GridCoverage coverage,
Style style)
Deprecated.
* Add a new layer and trigger a
LayerListEvent. |
DefaultMapLayer(GridCoverage coverage,
Style style,
String title)
Deprecated.
* Add a new layer and trigger a
LayerListEvent. |
DefaultMapLayer(Layer layer)
Deprecated.
Wrap up a layer in a DefaultMapLayer; generally used to ensure layer is shown to the world as
a feature source even if it happens to be a WMS or something.
|
addMapLayerListener, equals, getBounds, getFeatureSource, getQuery, getSource, getStyle, getTitle, hashCode, isSelected, isVisible, removeMapLayerListener, setQuery, setSelected, setStyle, setTitle, setVisible, toLayer, toStringpublic DefaultMapLayer(Layer layer)
public DefaultMapLayer(FeatureSource featureSource, Style style, String title)
featureSource - the data source for this layerstyle - the style used to represent this layertitle - the layer titleNullPointerException - DOCUMENT ME!public DefaultMapLayer(CollectionSource source, Style style, String title)
public DefaultMapLayer(FeatureSource featureSource, Style style)
featureSource - the data source for this layerstyle - the style used to represent this layerpublic DefaultMapLayer(FeatureCollection collection, Style style, String title)
collection - the source feature collectionstyle - the style used to represent this layertitle - Title of map layerpublic DefaultMapLayer(Collection collection, Style style, String title)
public DefaultMapLayer(FeatureCollection collection, Style style)
collection - the source feature collectionstyle - the style used to represent this layerpublic DefaultMapLayer(Collection collection, Style style)
public DefaultMapLayer(GridCoverage coverage, Style style) throws TransformException, FactoryRegistryException, SchemaException
LayerListEvent.coverage - The new layer that has been added.style - SchemaExceptionFactoryRegistryExceptionTransformExceptionpublic DefaultMapLayer(GridCoverage2DReader reader, Style style, String title, GeneralParameterValue[] params) throws TransformException, FactoryRegistryException, SchemaException
LayerListEvent.reader - a reader with the new layer that will be added.style - title - params - GeneralParameterValue[] that describe how the AbstractGridCoverage2DReader shall read the imagesSchemaExceptionFactoryRegistryExceptionTransformExceptionpublic DefaultMapLayer(GridCoverage2DReader reader, Style style, String title)
LayerListEvent.reader - a reader with the new layer that will be added.style - title - SchemaExceptionFactoryRegistryExceptionTransformExceptionpublic DefaultMapLayer(GridCoverage2DReader reader, Style style)
LayerListEvent.reader - a reader with the new layer that will be addedstyle - SchemaExceptionFactoryRegistryExceptionTransformExceptionpublic DefaultMapLayer(GridCoverage coverage, Style style, String title) throws TransformException, FactoryRegistryException, SchemaException
LayerListEvent.coverage - The new layer that has been added.style - title - SchemaExceptionFactoryRegistryExceptionTransformExceptionCopyright © 1996–2019 Geotools. All rights reserved.