How to remove feoture layer created from collection object feature
La Sinh,
Have you tried
map.removeLayer(your layer object);
your layer object = null;
thanks repply! i tried above your code, but not working;
map.removeLayer(featureLayer);
featureLayer = null;
La Sinh,
Is it throwing any errors? I have no problem at all using map.removeLayer(x) in my code even when it is a feature collection featurelayer.