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

Subclass or alias the map class #861

Open
manthey opened this issue Jul 10, 2018 · 0 comments
Open

Subclass or alias the map class #861

manthey opened this issue Jul 10, 2018 · 0 comments

Comments

@manthey
Copy link
Contributor

manthey commented Jul 10, 2018

Currently, when we create a pixel-space image, we can use util.pixelCoordinateParams to get appropriate values to initialize the map object and the tile layer. As a convenience, if we subclassed map as largeimage or slide or some similar name, we could have this take a width and height and then do the expected thing. Similarly, an image tile layer create on such a subclass of map could default to the preferred wrapping, bounds, etc.

As another subclass of map could be a scene or view or similar name which would default to different interactor options -- this might be nothing more than using an interactor where we pass different defaults.

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