[OpenLayers-Users] Resymbolize without redownloading?

Jay L. jlaura at asu.edu
Fri Feb 1 08:10:53 PST 2013


Posted on gis.stackexchange, but figured I should ask here as well.

Thanks,
Jay

GeoJSON served via GeoServer to OpenLayers.

Simple question - Is it possible to apply a new styleMap without
redownloading the data from the server?

I am currently using the following, but am redownloading.

layer.styleMap = new_style
layer.refresh({force:true})
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130201/f2908812/attachment.html>


More information about the Users mailing list