Vue Mapbox Tailwind CSS Demo
The demo uses vue-mapbox and has the following functionality:
- Add a list of markers
- Remove a list of markers
- Change the map style
- Change marker color
- Use a custom marker
- Using map and marker methods and events
- Interaction with markers from a list
- Address search with the Mapxbox geocoder using an input outside the map
You need to use your own Mapbox Access Token and change it in the .env file
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint