[OpenLayers-Users] Refresh Vector Layer changing featureType

Shadin shadin__a at hotmail.com
Mon Oct 1 01:01:08 PDT 2012


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.


More information about the Users mailing list