Skip to main content
100%

FOAM API Example - CSC search

✓ Published0🌍 Public
WWill Carter
Last edited May 13, 2018
Created on Mar 22, 2018

This map visualization demonstrates searching and displaying FOAM beacon locations using the Mapbox GL JS API. It shows beacon data as points on a dark basemap, with a search menu that queries the FOAM API for specific beacon names and displays the first result. The code uses Axios for API requests and the latlon-geohash library for geographic calculations, while Mapbox GL JS renders the map with a GeoJSON source. The initial view covers a bounding box across North America, and the search functionality dynamically updates the map by removing and re-adding layers when a beacon is found.

AI-generated description

FOAM API Example - CSC search

mit Licensed

Similar vizzes