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

Multiple Layer classes should be set open not public #10

Closed
and01 opened this issue Aug 28, 2023 · 1 comment
Closed

Multiple Layer classes should be set open not public #10

and01 opened this issue Aug 28, 2023 · 1 comment

Comments

@and01
Copy link

and01 commented Aug 28, 2023

In the documentation for ImageTiledLayer it says A base class for layers that display cached maps. You would typically work with one or more sub-classes of this class.
How can one subclass an ImageTiledLayer when it is not set open but rather public? Am I missing something here?

@zkline101
Copy link
Contributor

Hi @and01, thanks for the question. It seems like we could tweak that documentation to better describe the expected behavior. You are correct, you cannot subclass ImageTiledLayer. Instead, you would create a custom tiled layer using CustomTiledLayer. Let me know if you have any more questions.

@and01 and01 closed this as completed Aug 29, 2023
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

2 participants