hackgvl / OpenData

Open data projects, including real-time and reusable data for local tech meetups, events, and map layers.
16 stars 3 forks source link

Open Data Map: Make URL's clickable #53

Closed jeremywight closed 1 year ago

jeremywight commented 2 years ago

What: In the open map layers when URLs exist they are plain text. We should wrap these in an tag to make them clickable to make it easier to access the details.

Example: https://data.openupstate.org/map/preview/coworking-spaces

Image 2021-11-02 at 6 28 29 PM

allella commented 1 year ago

It's not ideal to do this in the Javascript, but for now it's working and better than no links.

The GeoJSON isn't rendered dynamically, yet. We'll do these text manipulations at an earlier stage once the GeoJSON output becomes dynamic.

This should work in all other layers and in any of the bullet points, but here's the example used in this issue. https://data.openupstate.org/map/preview/coworking-spaces

image