-
Notifications
You must be signed in to change notification settings - Fork 16
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
First pass / rough draft of HTMLMapmlViewerElement.matchMedia API, #1008
base: main
Are you sure you want to change the base?
Commits on Nov 16, 2024
-
First pass / rough draft of HTMLMapmlViewerElement.matchMedia API,
depends on media-query-parser and media-query-solver.
Configuration menu - View commit details
-
Copy full SHA for e0fa9e8 - Browse repository at this point
Copy the full SHA e0fa9e8View commit details -
Work through a few issues to get basic function of prefers-lang,
prefers-color-scheme,map-projection,map-zoom working up to the initial matches. Tbd if this will need modification to support dynamic evaluation of map properties to support attaching event handlers. Not yet determined: how to implement map-extent support, because media features are all either discrete or range types, and while it may be possible to implemnent a bbox using four corner values as the pre-determined corners of the bbox, it is less clear how to represent a bbox as a media feature value, which does not typically contain commas.
Configuration menu - View commit details
-
Copy full SHA for 1f04681 - Browse repository at this point
Copy the full SHA 1f04681View commit details -
Use multi-select values of contentPreference sent by mapml-extension
(relies on M.options.contentPreference being an array).
Configuration menu - View commit details
-
Copy full SHA for 1092339 - Browse repository at this point
Copy the full SHA 1092339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c9471 - Browse repository at this point
Copy the full SHA 29c9471View commit details -
Configuration menu - View commit details
-
Copy full SHA for eee692c - Browse repository at this point
Copy the full SHA eee692cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2cadfd - Browse repository at this point
Copy the full SHA e2cadfdView commit details -
Make matchMedia features object return values via a property getter,
allowing dynamic use of the object in event handlers. Add window.matchMedia query + event listener for color-scheme changes, allows map to adapt without having to shake it.
Configuration menu - View commit details
-
Copy full SHA for a6412d0 - Browse repository at this point
Copy the full SHA a6412d0View commit details
Commits on Nov 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0c0c98c - Browse repository at this point
Copy the full SHA 0c0c98cView commit details
Commits on Nov 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0bb6b19 - Browse repository at this point
Copy the full SHA 0bb6b19View commit details -
Change the way prefers-lang selects the language (use navigator.langu…
…age, not navigator.languages, because other values aren't of use).
Configuration menu - View commit details
-
Copy full SHA for c5cd7c8 - Browse repository at this point
Copy the full SHA c5cd7c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 333112e - Browse repository at this point
Copy the full SHA 333112eView commit details