Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public LayerManager::deleteLayer function? #75

Open
Germanunkol opened this issue Jun 11, 2015 · 1 comment
Open

Public LayerManager::deleteLayer function? #75

Germanunkol opened this issue Jun 11, 2015 · 1 comment

Comments

@Germanunkol
Copy link

Hi,

Recently, you added the createLayerAt function (thanks again for that!).

Is there a way to delete such a layer again?
There's the LayerManager::delete, but it's private. And calling:

delete mLayer;

throws an error if the layer is not empty.

How do I remove a (dynamically added) layer?

@Germanunkol
Copy link
Author

Alternatively, how do I empty the layer so that I can then remove it calling "delete mLayer" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant