Map reachable ranges from multiple locations

Calculate time-based accessibility areas from multiple locations

View on GitHub
SDK 1.0.0-rc.7

Click anywhere and nested bands redraw around the new origin, showing how far you get on a budget of minutes or kilometres.

  • calculateReachableRanges takes every budget in one array, and ReachableRangesModule.show draws its answer unchanged. It titles each band from its budget and puts the smallest on top.
  • By default, the bands ramp from the map’s accent colour toward its land colour. Your own fill.palette replaces them in one applyConfig, and the inverted fill style shades what lies out of reach instead.
  • createLatestRequest drops the call a fresh click supersedes, so the handler has no cancellation error to tell apart from a real failure.

Related examples