Skip to content

pop-pin/mapbox-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Overlay Hover example

Add a data overlay to a map via React and use controls to visualize it differently. Each country's data will be displayed in an alert on-click.

Demo gif

Run it

git clone https://github.com/mapbox/mapbox-react-examples.git

cd mapbox-react-examples/data-overlay-hover
npm install
npm start

open http://localhost:3000/

Access token

mapboxgl.accessToken = // YOUR_API_KEY_HERE

Replace the API key in src/Map.js.

Runs the app from http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published