All examples By author By category About

rgdonohue

Locate and find nearest in Leaflet

This example queries data from CARTO, uses the geolocation API to get the user's position, and finds the nearest three features.

Note: geolocation appears blocked within bl.ocks.org.