implementing map with pin
JMStudiosJoe opened this issue · 1 comments
JMStudiosJoe commented
If you’re OK w/ loading the raster tiles, take a look at https://leafletjs.com/examples/quick-start/. You have a choice of tile providers; that tutorial uses Mapbox, but you can also use osm.org tiles directly for small projects; https://switch2osm.org/using-tiles/getting-started-with-leaflet/ shows how.
If you want smooth zooming and more customizability w/o setting up your own tile server, you’ll want vector tiles and a library such as Mapbox GL JS. See https://www.mapbox.com/mapbox-gl-js/example/add-image/ for putting a pin on the map, and look up “circle layers” for the radius.
JMStudiosJoe commented