Skip to content

Instantly share code, notes, and snippets.

@sdjacobs
sdjacobs / config.js
Created February 5, 2018 16:22
config.js for otp-vtrans-ui
window.OTP_config = {
initLatLng: [44.42, -72.01],
osmMapKey: 'your-mapbox-key',
aerialMapKey: 'your-mapbox-aerial-key',
// geocoderSearchRadius : 25, // search radius in km for mapzen geocoder from initLatLng (defaults to 50 if not specified)
// change to server where you are running OTP
otpApi: '/otp/routers/',