I’m not really sure where to put this, but as part of a project I’m working on I’ve created a data helper in javascript that takes data from the trap.nz API and displays it on a map for a webpage. It will show trap lines and also icons for each trap depending on what the trap is targeted to catch. The traps are clickable to show details like type and installation date.
The data from the API is already valid geojson so it’s pretty straight forward, but thought someone else might be able to use it. The repository is here: GitHub - kelvinperrie/TrapNZDataHelper: displays traplines and traps based on trap.nz data feeds with a demo here: https://trapnzdata.netlify.app/
3 Likes