com.graphhopper.maps.js.config.options.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphhopper-web-bundle Show documentation
Show all versions of graphhopper-web-bundle Show documentation
Use the GraphHopper routing engine as a web-service
////////////////////////////////////////////////////////////////////////////////////////////////////////
// We know that you love 'free', we love it too :)! And so the entire GraphHopper routing engine is not
// only free but even Open Source! The GraphHopper Directions API is also free for development.
// Grab an API key and have fun with installing anything: https://graphhopper.com/#directions-api
// Misuse of API keys that you don't own is prohibited and you'll be blocked.
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Easily replace this options.js with an additional file that you provide as options_prod.js activate via:
// BROWSERIFYSWAP_ENV='production' npm run watch
// see also package.json and https://github.com/thlorenz/browserify-swap
exports.options = {
with_tiles: true,
environment: "development",
// use this if you serve the web UI from a different server like live-server and the GH server runs on the standard port
// routing: {host: 'http://localhost:8989', api_key: ''},
routing: {host: '', api_key: ''},
geocoding: {host: '', api_key: ''},
thunderforest: {api_key: ''},
omniscale: {api_key: ''},
mapilion: {api_key: ''}
};