OpenStreetMap logo OpenStreetMap

Search the viewpoints in the map

Posted by szraypang on 20 January 2020 in English.

If anybody can help teach me do a setting to highlight the viewpoints in the area of the map with link to the pictures contributed by users or from search engine, it would be helpful to the trip planners.

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Comment from Marcos Dione on 22 January 2020 at 14:21

There’s nothing in the OSM infra that provides all that. You will need to write it yourself, including:

  • A webpage that uses leaflet or openlayers to show a map and the other data
  • Some more JS glue to call overpass-turbo to find viewpoints in the shown map
  • Even more JS to query photo sites for photos around each viewpoint’s coords and show them

And probably more.

Log in to leave a comment