withDataSource abstract method
- String dataSourceName,
- MapContentType contentType
Configures the builder to use a data source with the given name as the source of data for the layer.
The datasource name and content type are mandatory layer creation parameters.
-
dataSourceNameName of the data source. -
contentTypeThe renderable content type supplied by the data source.
Returns MapLayerBuilder. This class instance.
Implementation
MapLayerBuilder withDataSource(String dataSourceName, MapContentType contentType);