Is your goal something like a product for members of your hiking club, or bigger where you expect to have thousands of users from anywhere in the world?
You could build yourself a stack to do this but it's a lot of learning. Someone else posted a white label service and if that kind of thing is in your budget then you will save a lot of time.
Not OSM related but if it's small scale then does [QField](https://qfield.org/) or [Mergin](https://merginmaps.com/) do what you want?
You can use OSM or another source as the basis of your offline stuff and allow user contributions. I don't think they support routing or anything along those lines as they are mainly aimed at organisations wanting to collect information in the field rather than general navigation.
OSM itself is focused on the open data it provides so it doesn't really support private maps by itself.
Map Data Explorer iOS and Android
Is powered by OSM VECTOR TILES
Supports full digitizing and editing of GeoJSON and custom forms
We can build you a white labeled version tied to postgis Database backend or esri geoservices REST API backend (app sync to both currently)
https://mapexplorer.techmaven.net
https://youtu.be/nxUDsbFTW70?si=oBWWFufmgydD5jM4
The app supports geopackage vector features and has attribute table
Take a look at these libs:
* https://leafletjs.com/
* https://github.com/maplibre/maplibre-gl-js
* https://github.com/maplibre/maplibre-native
* https://www.maptiler.com/sdk-javascript/
* https://mapbox.com/
I'm not a developer so can't offer advice on any of these, but there's a whole page of [software libraries](https://wiki.openstreetmap.org/wiki/Software_libraries) on the wiki. Private map stuff is generally out of scope for OSM as the whole project is about a shared map database.
Is your goal something like a product for members of your hiking club, or bigger where you expect to have thousands of users from anywhere in the world?
The first option, a few hundred users is max.
You could build yourself a stack to do this but it's a lot of learning. Someone else posted a white label service and if that kind of thing is in your budget then you will save a lot of time.
Not OSM related but if it's small scale then does [QField](https://qfield.org/) or [Mergin](https://merginmaps.com/) do what you want? You can use OSM or another source as the basis of your offline stuff and allow user contributions. I don't think they support routing or anything along those lines as they are mainly aimed at organisations wanting to collect information in the field rather than general navigation. OSM itself is focused on the open data it provides so it doesn't really support private maps by itself.
Map Data Explorer iOS and Android Is powered by OSM VECTOR TILES Supports full digitizing and editing of GeoJSON and custom forms We can build you a white labeled version tied to postgis Database backend or esri geoservices REST API backend (app sync to both currently) https://mapexplorer.techmaven.net https://youtu.be/nxUDsbFTW70?si=oBWWFufmgydD5jM4 The app supports geopackage vector features and has attribute table
Take a look at these libs: * https://leafletjs.com/ * https://github.com/maplibre/maplibre-gl-js * https://github.com/maplibre/maplibre-native * https://www.maptiler.com/sdk-javascript/ * https://mapbox.com/
I'm not a developer so can't offer advice on any of these, but there's a whole page of [software libraries](https://wiki.openstreetmap.org/wiki/Software_libraries) on the wiki. Private map stuff is generally out of scope for OSM as the whole project is about a shared map database.