Web-Map-Custom-Element
Web-Map-Custom-Element copied to clipboard
A custom <mapml-viewer> and <layer-> element suite
This is more of a thought experiment than an actual implementation idea. What would it take to run Leaflet plugins if the Web browser actually implemented a `` and [](url)...
Bug in the [RTL map](https://maps4html.org/experiments/i18n/rtl/):  Caused by the following styles which seem redundant and safe to remove: https://github.com/Maps4HTML/Web-Map-Custom-Element/blob/b1a79c9a26f5989066d5114efea8d0465d28eb92/src/mapml.css#L869-L872
See https://github.com/Maps4HTML/MapML/issues/259. With the [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API), `` is the `popovertarget` and `` (or other element) the `popover` element. Polyfill: https://github.com/oddbird/popover-polyfill
Add test html/mapml files against which to test map-a in inline and /or remote mapml documents loaded directly or via added under test/e2e/elements/map-link, but could have been under new map-a...
This was discovered by @turingtestfail over [here](https://github.com/geosolutions-it/geoserver/pull/368#issuecomment-2248878755). In contrast, \\ [works fine](https://maps4html.org/experiments/custom-projections/bc/) (click on BC Geo Survey HQ marker) when loaded from a text/mapml document directly, or inline within a...
Caveats: Styling of mvt / pmtiles resources requires scripts defined in pmtilesStyles.js module that exports pmtilesRules map object.
A text/mapml document like this: ```xml Prevalence rates of mental health issues in London ``` gives rise to the following error messages: ```log Uncaught TypeError: this.parentElement is null connectedCallback map-input.js:262...
Possibilities: - \@maps4html/MapML.js - ~\@maps4html/Maple.js~ - ~\@maps4html/maple-elements~ Tasks: - [x] find and replace 'web-map-custom-element' across: web-map-custom-element, web-map-doc, experiments, mapml-extension, explainer, tbd - [x] deal with npm, unpkg etc - [x]...
closes #319