-
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
Implement map content selection based on media queries associated to map-link #901
Comments
One relevant specification for this feature is Media Queries Level 5, which specifies a set of None of the other media features seems to fit with the core requirement here, and media types seem to be deprecated. I propose to prototype a Inital thoughts on domain of values for
|
Other potentially useful media features and possible values and types |
Media query parser implementationss: https://github.com/tbjgolden/media-query-parser and https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser |
I was really hoping to shoe-horn bbox media queries through this facility, but this is out of bounds as far as the CSS grammar / parser goes, at least for now. The reason is that media feature values (<mf-value> in the linked spec) cannot contain commas, and representing individual corner coordinates of the bounds / map extent as independent media features would not work as far as how media query solving works (each predicate is individually assessed as true/false/unknown, without having the complete state required to fully evaluate bbox overlaps). |
Implement ideas in Maps4HTML/HTML-Map-Element-UseCases-Requirements#43 and #546 and Maps4HTML/HTML-Map-Element-UseCases-Requirements#256
Would likely replace announcing of location: per #552
The text was updated successfully, but these errors were encountered: