FOAM Map API Examples

Learn how to plot points and more with the FOAM Map API.

Deck.gl + Mapbox tiles

These examples use Deck.gl with Mapbox tiles. An access token is required from Mapbox.

 
Plot points
 
Display tool tips
 
Change the theme
 
Density of points
 
Map local restaurants
 
Map a path

Mapbox GL JS

These examples use Mapbox GL JS. An access token is required from Mapbox.

 
Custom icons
 
3D buildings