Build real apps with the MapLark API
Practical Python recipes for OpenStreetMap data: park benches, restaurants, cycling trails, and Dijkstra routing on a pedestrian network.
All example source code is also available in the osmfeatures-py and osmfeatures-ts repositories.
Park Bench Finder
Fetch all benches in a park as GeoJSON points and place them as map markers. A simple, minimal example of the API in action.
Restaurant Guide
Build a restaurant discovery app with names, cuisine types, and map pins - handling both point and polygon restaurant geometries.
Cycling Trail Finder
Discover bike-permitted paths and forestry tracks using OR-combined tag filters - the same query surface as Overpass.
Walking Route Planner
Build walking directions by fetching the footway network, constructing a weighted graph, and running Dijkstra's algorithm to find the shortest path between any two points.