Closed bdon closed 3 years ago
very basic implementation in v1.3.0, screenshot:
issues right now: it does hit detection based on bounding box, which will include way too many features: we need a very primitive distance-to-linestring, as well as point-in-polygon implementation to do this more accurately. open to feedback
scrolling around aggressively and clicking on zoom transition seems to break the inspector. also consider:
maybe using console.log is a better option? maybe a hovering window instead of reusing leaflet popups?
Because the Leaflet frontend already assumes the leaflet dependency, we can reuse some DOM elements to display the feature ID, type and properties.