You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to give a user the ability to load a number of stylesheets up once at the beginning of a session. So the client would post JSON or SLD XML as an Ajax request, and in this way the application can control the styling, rather than the rather clunky way that this is handled by products like GeoServer. So something like this:
I want to give a user the ability to load a number of stylesheets up once at the beginning of a session. So the client would post JSON or SLD XML as an Ajax request, and in this way the application can control the styling, rather than the rather clunky way that this is handled by products like GeoServer. So something like this:
var style = { ... };
// OR
var style = $("#sld")[0];
...
$.post('/wms/session_styles/', {
'name' : "name",
'stylesheet' : style,
});
and in oh, and openlayers, the WMS call is a GET with the styles: attribute set to the name that we used.
The text was updated successfully, but these errors were encountered: