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

Could / should <input type="zoom" ...> be replaced by <input type="location" axis="zoom" ...> #56

Open
prushforth opened this issue Dec 29, 2019 · 0 comments

Comments

@prushforth
Copy link
Member

I am writing a MapML explainer, and I while I'm bothered by the profusion of attributes on <input type="location"...>, I'm even slightly more concerned that too many <input> types is worse.

So, although zoom isn't strictly speaking an axis, could it be treated like one by <input type="location">, or more generally, in the notion of location in Web maps altogether? It is clear that scale is an integral part of maps, so maybe making zoom (scale's proxy) part of location would be possible. I don't think it is too much of a stretch given the tight integration of zoom in the concept of Tiled Coordinate Reference Systems.

If the location event carried more properties, such as zoom, and even width and height, we could eliminate <input>s for those properties.

@prushforth prushforth changed the title Could / should <input type="zoom" ...> be replaced bye <input type="location" axis="zoom" ...> Could / should <input type="zoom" ...> be replaced by <input type="location" axis="zoom" ...> Dec 29, 2019
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