wonderful! thanks On Fri, Feb 1, 2013 at 10:21 AM, Arnd Wippermann <[email protected]>wrote:
> ** > 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
