This map displays all street-level crimes committed from May 2016 to April 2017 in a 1 mile radius around the blue marker.
The starting location was randomly chosen
If you hover over a crime marker, it will show you the first crime recorded in that specific location
Click a new location on the map or drag the blue marker to a new location to see different areas of crime
Each crime marker is only the approximate location of a crime, and not exact
The map uses the official UK Police Data API to gather the location of crimes in a radius around the blue marker
It uses Google's Google Maps Javascript API to provide the mapping, and Google Maps Geocoding API for searching & finding locations
It is powered using vanilla JS + BootstrapCSS
Thanks to @Cutwell for tidying up the structure and helping with the mode()
problem, and helping with several other bugs
All custom icons by Icons8
- Add FAQ button/menu
- Add a statistics window that shows more info about the area
- Add filters for different crimes in the
Icons
menu
- Added custom icons
- Fixed various lag related bugs
- Changed icon help menu to bootstrap grid
- Added "My Location" button
- Removed JQuery dependency
- Fixed
mode()
- Show a loading symbol when retrieving data from police API
- Replace
current location
with search bar to find a location by name / address