Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Making a layer invisible doesn't stop tiles from being requested #6329

Closed
Pilou44 opened this issue Sep 14, 2016 · 2 comments
Closed

Making a layer invisible doesn't stop tiles from being requested #6329

Pilou44 opened this issue Sep 14, 2016 · 2 comments
Labels
Android Mapbox Maps SDK for Android runtime styling

Comments

@Pilou44
Copy link

Pilou44 commented Sep 14, 2016

Hello,
I've got two issues with layers. I use android 4.2.0 beta 2.

My first issue is that when I manipulate layers (getLayer then modify properties), if I close the app and launch it again I've got a crash with this trace :
A/libc: /Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/abort_message.cpp:74: void abort_message(const char *, ...): assertion "terminating with uncaught exception of type mapbox::sqlite::Exception: unable to open database file" failed
If I don't manipulate layers the issue doesn't occur.

My second issue is that when I make a layer invisible using setProperties(visibility(NONE)), I can see that the tiles used by this layer are still requested even if they are not displayed.

@1ec5 1ec5 added Android Mapbox Maps SDK for Android crash runtime styling labels Sep 14, 2016
@jfirebaugh
Copy link
Contributor

The first issue is #6193.

@jfirebaugh jfirebaugh removed the crash label Sep 20, 2016
@jfirebaugh jfirebaugh changed the title Issues with layers Making a layer invisible doesn't stop tiles from being requested Sep 20, 2016
@jfirebaugh
Copy link
Contributor

Second issue was fixed in 9127299.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android runtime styling
Projects
None yet
Development

No branches or pull requests

3 participants