Hi Jared,
We are facinng the issue on Android 4.4. Ours is a sencha application(2.3.2).
It runs inside Tibco Silver Mobile which is based on phone-gap.
To work with maps , we are using ESRI javascript API 3.8.
We have the following set up for maps-
1)We have bing as the base map layer.
2)On that , polygons are place that are ESRI polygons .
3)On the top, we have geolocation APIs that track the user's current location
When we render this map on Android, we try to set a default zoom level . Now, in Android 4.4, zoom level greater than 12 does not work. Even on 12 it gives the following issues-
1)Pinning does not work---> This means that when user tries to pin, it takes a very long time for the map to set the zoom level which in turn hangs the application
2)Zoom slider responds after a very long time
3)Any other control on this screen take ages to respond..
Basically every response is delayed and if user keeps on interacting without waiting for the map to respond, so it hangs the aplpication.
I read from the your comment, that you could fix the issue with some workaround.
Can you please help us here. We are in the crtical stage of the project and need to fix this issue desparately.
Thanks in advcance!!!!!!
Chetna
HI Team,
I am also facing this issue in my app. My app is sencha based . And on Android 4.4, if user tries to pinch, it hans the entire app.
Is there any solution to this.
Chetna
Hi,
We have fixed the problem in 3.12
This is a compositing bug in Chromium. We have logged the issue: Issue 437904 - chromium - Applying opacity to element with big scale transform freezes the page - An...
A workaround for previous releases of the API is to set fadeOnZoom to false on the map Map | API Reference | ArcGIS API for JavaScript This disable the fading for the tiles in TiledMapServiceLayer
Hi ,
We used 3.12 version.But the issue is not fixed.
My application is getting freezed on zoom in.
Can you please help.
Thanks,
Chetna
Hello,
We have the same problem on android 4.4. When our application zoom from 2 000 000 to 1000 (zoom to current location), it freezess the app for 3-5min. Javascript API 3.12 dont work and also property fadeOnZoom = false...Can anyone help with some workaround? Or the date when it will be fixed?
Thanks,
Michal
Hello Michal,
I think this is related to Chromium WebView, the hardware accelerated canvas rendering is not supported in Android 4.4 or previous version. Add this line to the WebView to turn off hardware accelerated canvas and it should works.
mWebview.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
For more information, please check this Android page:
Hardware Acceleration | Android Developers
I tested with Anroid 5.0 it works fine. FYI this as well if you curious, Google: Why we won't patch pre-KitKat Android WebView | ZDNet