[OpenLayers-Dev] removeAllFeatures on Android default browser

Alexandre Busquets abusquets at gmail.com
Wed Mar 19 04:31:10 PDT 2014


Hi,

I'm working a mobile application that runs on a android 4.2.2 device.

My problem occurs with the Android default browser and with Apache Cordova
if i make and installable version of application.
With Chrome, no problem.

I have OpenLayers.Layer.Vector and before to add a feature first i do

VISOR.capesvectorials.ressaltats.removeAllFeatures();

and then

VISOR.capesvectorials.ressaltats.addFeatures( format.read(res.data) );

The problem is that openLayers sometimes leave partial parts of old
geometries or the complet geometry.

The old geometries are erased if I move the map.

What I can do?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20140319/54cfed2d/attachment.html>


More information about the Dev mailing list