I want to know if Google maps, Open Streetmap, or some alternative, lets me plan a route by foot (or bicycle, maybe also car, or even public transportation, but by foot is my initial project) from point A to point B …
BUT… it should be able to offer a detour if certain points of interest are “nearby”, where I get to define “nearby”, whether in terms of distance or time added, and I can choose from the API's POIs, or define my own list.