I read a book about Openlayers 3 and I guess its about an older Openlayers version because it mentions a ol.source.ServerVector vector source for getting WFS layers from a server.
In the latest Openlayers 3.9.0 that I use, when I search the API the only vector sources I can find are vector, cluster, tileVector and imageVector.
So my first question is, is ol.source.ServerVector deprected? Should I use plain ol.source.Vector instead to fetch WFS from my Geoserver?
When I search "WFS" on the OL examples I get only one example that uses ol.source.Vector to get WFS from Geoserver.
My second question is about the settings.
I dont get what this does url: function(extent, resolution, projection) {, how the url is implemented and what the strategy exactly does. Can somebody explain or provide links to tutorials?
Thanks
أكثر...
In the latest Openlayers 3.9.0 that I use, when I search the API the only vector sources I can find are vector, cluster, tileVector and imageVector.
So my first question is, is ol.source.ServerVector deprected? Should I use plain ol.source.Vector instead to fetch WFS from my Geoserver?
When I search "WFS" on the OL examples I get only one example that uses ol.source.Vector to get WFS from Geoserver.
My second question is about the settings.
I dont get what this does url: function(extent, resolution, projection) {, how the url is implemented and what the strategy exactly does. Can somebody explain or provide links to tutorials?
Thanks
أكثر...