yes, it is possible, try
 
layer.redraw();
 
Arnd

  _____  

Von: [email protected]
[mailto:[email protected]] Im Auftrag von Jay L.
Gesendet: Freitag, 1. Februar 2013 17:11
An: [email protected]
Betreff: [OpenLayers-Users] Resymbolize without redownloading?


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})
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to