My location widget is crashing my app on mobile devices.

6448
24
Jump to solution
11-09-2015 10:30 AM
BrianKeller__GISP
New Contributor III

I got a heads up from some end users today that using the my location button on one of our apps (confirmed its happening on all of them now) causes the application to crash and reload. I tried adjusting the timeout setting but that didnt seem to help.

Anyone else experiencing this?

I can share the url to the app if anyone needs it, id rather not post it here publicly.

halp!

Tags (1)
0 Kudos
24 Replies
JaromHlebasko
Occasional Contributor III

I absolutely agree with Maria. We are also having the same issues.  It is not the My Location widget causing the problem but rather zooming pass 1:1,128 threshold.  I am using WAB Developers Edition v1.3  for most of our applications and we were out in the field today with all sorts of issues because of this bug. Is it possible to change the scales in the code to rectify the situation rather than the alternative waiting for Esri to come out with a fix?  This is really going to hurt us if we can't get this solved soon

0 Kudos
MariaNieves
New Contributor III

Jarom,

You can customize your visible scales in WAB and remove anything larger than 1128. Also, if you switch the basemap to Light Gray Canvas, the map wont crash on you when you zoom in to larger scales. We opened the ticket with ESRI because we would like to use their topo basemap as our default and be able to zoom in at 1:141 scale.

You can also create your own basemap and cache it to larger scales and use that as your default basemap in the webmap.

0 Kudos
JaromHlebasko
Occasional Contributor III

Maria,

Have you customized the scales on your end and does it fix the crashing issue when zoomed into larger scales? Has anyone tried all the basemaps that ESRI has provided to see if it's only some that are causing the crash? Thank you for your time!

0 Kudos
MariaNieves
New Contributor III

Jarom,

I customized my scales and it fixes the problem. It is not a solution for our company because we need to be able to zoom in at at least 1:141 but if you don't need to zoom in closer than 1;1128 maybe try customizing your scales in WAB. So basically what happens is even though ESRI's basemap cache has all those larger scales available, there are no tiles at those scales for your area. Only certain cities actually have tiles at those scales. So instead of showing a message on the map when you zoom in to larger scales saying "map data not yet available", the web app crashes.

I tried ESRI's Imagery, Streets and Topographic and they crash. The only one that works for us is the Light Gray Canvas.

Maria

JaromHlebasko
Occasional Contributor III

It Is not a solution for our company as well but at least I know how to get around it for now. I had a feeling that this would fix the issue but could not test it as of yet. Thank you for your input and help!

0 Kudos