FOAM API Example - Mapbox.GL
✓ Published0🌍 Public
WWill Carter
Last edited May 13, 2018
Created on Mar 22, 2018
This interactive map visualizes FOAM beacon locations within a defined bounding box around Boulder, Colorado, using Mapbox GL. It fetches beacon data from the FOAM API, decodes each beacon’s geohash to coordinates, and plots yellow circular markers on a dark basemap. The code uses Mapbox GL for rendering, axios for HTTP requests, and the latlon-geohash library for decoding. The map centers on the bounding box’s midpoint at zoom level 12, showing the spatial distribution of FOAM beacons in the area.
AI-generated descriptionFOAM API Example - Mapbox.GL
mit Licensed