An interactive map that shows crime information and statistics in the UK
https://uk-police-map.pages.dev
- React
- Next JS
- Zustand
- Leaflet | React Leaflet
- MapBox
- Latest crime location and information
- Local force & neighbourhood information
- Search for crimes by location
- Step 1 - Install dependencies
$ yarn install
-
Step 2 - Add env variables
- Create a .env.local file in the root directory
- Add both
MAPBOX_ACCESS_TOKEN
andNEXT_PUBLIC_MAPBOX_GEOCODING_ACCESS_TOKEN
variables
-
Step 3 - Run development server
$ yarn dev