Next version of web portal maintained by Slovak OpenStreetMap community.
Features:
- maps rendered specifically for Slovakia (map of touristic trails, map of cycle routes and cross-country ski map)
- picture gallery
- various tools (searching, measurement, route planning, changesets, ...)
- Node 8
- Freemap API Server
-
Add
local.freemap.sk
to127.0.0.1
in your system hosts file (for Linux and MacOS it is/etc/hosts
). -
Install the necessary libs:
npm i
-
Run webserver which also compiles the source files on change:
npm start
-
Install development CA certificate to your browser.
-
Open the application by visiting
https://local.freemap.sk:9000/
.
Set DEPLOYMENT
to:
dev
(default) forlocal.freemap.sk
next
fornext.freemap.sk
www
forwww.freemap.sk
npm i
DEPLOYMENT=next ./node_modules/.bin/webpack
You'll then find all static web resources in dist
directory.
- FM_MAPSERVER_URL - base URL of Mapnik Mapserver (without trailing slash); for example
http://localhost:4000
for development