Hi,
I have a layer with a vehicle ( a point with an external graphic ), when i change the position of the vehicle ( change de feature collection (fc) ), im deleting and adding this layer again
(
    ...
    map.removeLayer( layerViatura );
    layerViatura = new DefaultMapLayer( fc, style, viatura.toString() );
    map.addLayer( layerViatura );
)
Is this correct? or there is a better way to do that..
 
Thx, Frederico.

Reply via email to