Skip to content

Commit

Permalink
Update example file
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Sep 4, 2024
1 parent d713361 commit b15ea3f
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions doc/user/examples/ibi/portland/router-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,61 @@
"url": "https://gbfs.spin.pm/api/gbfs/v2/portland"
}
],
"vectorTiles": {
"basePath": "/rtp/routers/default/vectorTiles",
"attribution": "<a href='https://trimet.org/mod'>Regional Partners</a>",
"layers": [
{
"name": "stops",
"type": "CurrentServiceWeekStop",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 14,
"cacheMaxSeconds": 600
},
{
"name": "areaStops",
"type": "AreaStop",
"mapper": "OTPRR",
"maxZoom": 30,
"minZoom": 8,
"cacheMaxSeconds": 600
},
{
"name": "stations",
"type": "Station",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 2,
"cacheMaxSeconds": 600
},
{
"name": "rentalVehicles",
"type": "VehicleRentalVehicle",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 2,
"cacheMaxSeconds": 60
},
{
"name": "rentalStations",
"type": "VehicleRentalStation",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 2,
"cacheMaxSeconds": 600
},
{
"name": "vehicleParking",
"type": "VehicleParking",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 10,
"cacheMaxSeconds": 60,
"expansionFactor": 0.25
}
]
},
"rideHailingServices": [
{
"type": "uber-car-hailing",
Expand Down

0 comments on commit b15ea3f

Please sign in to comment.