Provide interactivity on road clicks
#76 opened on Jan 5, 2022
Repository metrics
- Stars
- (238 stars)
- PR merge metrics
- (PR metrics pending)
Description
The road vector information should allow for the data necessary to allow someone to click a feature and be provided additional context.
At the very least, each US highway should have information that can take you to the corresponding wikipedia page.
ex: https://www.openstreetmap.org/way/21775289 US:US=6 -> https://en.wikipedia.org/wiki/U.S._Route_6
This Mapbox GLJS tutorial is a good starting point https://docs.mapbox.com/mapbox-gl-js/example/filter-features-within-map-view/
See thread https://osmus.slack.com/archives/C01V02K52UX/p1641410558052000 Related to https://github.com/osm-americana/openstreetmap-americana/issues/75