This repo is practice for the mapbox api and general javascript coding.
Inspired by Jordan Lim's McDonald's voroni map.
Made with help from the tutorial below, with some modifications.
Added geocoder with results limited to Singapore. Link to instructions..
Followed the instructions here to create a custom plugin to toggle the coverage.
Added a draggable marker which will also update location based on geocoder search result.
A isochrone will be generated from the marker location based on the current settings (e.g. 10/20/30minutes).
This demo helped a lot.
Followed the following example. The mac location nearest to the draggable marker will be highlighted with a red circle. This is determined by using turf.nearest(point, featureCollection).
Figure out why the last listing has differentn styling.Fixed thanks to u/bigzij!