you should use it this way:

map.layers[1].protocol.setFeatureType("newLayer");
map.layers[1].refresh({featureType: "newLayer",force: true});



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Refresh-Vector-Layer-changing-featureType-tp5005454p5005460.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to