This demonstration uses the Mapbox Isochrone API and the spatial analysis library turf.js to identify areas of overlap when traveling for a given time period from two nearby points. Once the overlap area is established, the Mapbox Geocoding API is used to find nearby Points of Interest (Cafes, Restautants, or Bars) that would serve as a suitable "meet-in-the-middle" location.
Drag the markers to view the results for different locations, and try changing the mode of travel, duration, and type of place using the controls below. Searching for a location will automatically set the markers to two nearby points.
This demonstration uses the Mapbox Isochrone API and the spatial analysis library turf.js to identify areas of overlap when traveling for a given time period from two nearby points. Once the overlap area is established, the Mapbox Geocoding API is used to find nearby Points of Interest (Cafes, Restautants, or Bars) that would serve as a suitable "meet-in-the-middle" location.
Drag the markers to view the results for different locations, and try changing the mode of travel, duration, and type of place using the controls below. Searching for a location will automatically set the markers to two nearby points.