Hi,
Is code different when adding raster data (in comparison to adding the
vector data)?
Like this?
new ol.layer.Tile({
title: 'Bathymetry B2',
source: new ol.source.TileWMS({
url: 'http://localhost:8080/geoserver/wms',
params: {'LAYERS': 'Marine:Bathymetry_B2', 'TILED': true},
serverType: 'geoserver'
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249p5243715.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users