Esri / mapbook-android

App to replace paper maps for field work
Apache License 2.0
12 stars 13 forks source link

Toggling layers on/off doesn’t affect layers' visibility on the map #9

Closed mikewilburn closed 7 years ago

mikewilburn commented 7 years ago

I first experienced this in the Emergency Response Map, but it also then happened within the CIP Map a few minutes later as well.

I think some action (not sure which one(s) yet) triggered it and also reset the behavior. I'll be looking more into this to see if I can reproduce it consistently. For now, see below for a couple of screenshots conveying what I saw.

All layers turned on: 7_alllayersturnedon

All layers turned off: 7_alllayersturnedoff

mikewilburn commented 7 years ago

Update: in order to make the layer visibility become unaffected by toggling on/off the layer, exit the app (but leave it running) and then re-open the app from the "Recents" tray (square icon on far right of the controls).

zinfin commented 7 years ago

@mikewilburn I've uploaded a new .apk with a fix, can you test?

mikewilburn commented 7 years ago

Confirmed that this longer occurs with the latest version of the .apk. Can successfully toggle layers on/off, leave the app, re-open the app, from the Recents tray, and still successfully toggle layers back on/off and have result be reflected on the map.