You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should try to implement <map-feature> as a custom element. Some behaviour that this should encompass, tentative list:
ability to add/remove <map-feature> as a child (or perhaps descendant) of <layer-> and render / remove the rendered resulting markup (SVG).
perhaps: modify the coordinates and have those modifications rendered dynamically
provide internal support for returning a GeoJSON representation of <map-feature> geometry. The objective is to be able to use turf.js to sort and analyze features for accessibility support e.g. sort ascending on distance from map centre
per discussion with @AliyanH, a custom element could directly provide interactivity, such as a .click() method, so that applications could work with features on the map without having to delve into our shadow DOM
method to calculate and return the extent of the feature as a JavaScript object
The text was updated successfully, but these errors were encountered:
Malvoz
changed the title
Implement map-feature custom element
Implement <map-feature> custom element
Oct 19, 2021
We should try to implement
<map-feature>
as a custom element. Some behaviour that this should encompass, tentative list:<map-feature>
as a child (or perhaps descendant) of<layer->
and render / remove the rendered resulting markup (SVG).<map-feature>
geometry. The objective is to be able to use turf.js to sort and analyze features for accessibility support e.g. sort ascending on distance from map centreThe text was updated successfully, but these errors were encountered: