mirror of
https://github.com/Cernobor/oko-server.git
synced 2025-02-24 08:27:17 +00:00
* Server provides map info with zoom, default center and paths to both downloadable pack and tile url template.
17 lines
541 B
Go
17 lines
541 B
Go
package server
|
|
|
|
const (
|
|
URIPing = "/ping"
|
|
URIHardFail = "/hard-fail"
|
|
URISoftFail = "/soft-fail"
|
|
URIMapPack = "/mappack"
|
|
URIHandshake = "/handshake"
|
|
URIData = "/data"
|
|
URIDataPeople = "/data/people"
|
|
URIDataFeatures = "/data/features"
|
|
URIDataFeaturesPhoto = "/data/features/:feature/photos/:photo"
|
|
URITileserverRoot = "/tileserver"
|
|
URITileserver = URITileserverRoot + "/*x"
|
|
URITileTemplate = URITileserverRoot + "/map/tiles/{z}/{x}/{y}.pbf"
|
|
)
|