[OpenLayers-Dev] removeAllFeatures on Android default browser

Andreas Hocevar ahocevar at boundlessgeo.com
Wed Mar 19 04:48:28 PDT 2014


This could be related to http://github.com/openlayers/openlayers/issues/1181.
You might be able to work around this by disabling GPU support.

Andreas.
On 19 Mar 2014 12:31, "Alexandre Busquets" <abusquets at gmail.com> wrote:

> 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.
>
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20140319/76ae6b52/attachment.html>


More information about the Dev mailing list