Search code examples
dictionaryleafletopenstreetmap

How to get different places in leaflet map?


I want to get places from leaflet but i don't know how to do this, for example i want to get restaurants wherever map is centered. are there any ideas ?


Solution

  • I just find out how to do it ! Restaurants are mapped as amenity=restaurant in OSM

    thanks to @scai