I am trying to follow the example of this link because I want to add vector
data (which I have uploaded onto Geoserver) in the map:

https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js
<https://github.com/walkermatt/ol3-layerswitcher/blob/master/examples/layerswitcher.js>
  

I am unsure about this part:
url: 'http://demo.opengeo.org/geoserver/wms',

How can I find out what is my source url?

Also, since it is vector data, do I use these two:

new ol.layer.Vector
source: new ol.source.Vector



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/layerswitcher-js-and-adding-vector-data-from-Geoserver-tp5243249.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

Reply via email to