if i remove the line destination i get al te trains in both directions.
if i use destination it is blanc, what am i doing wrong?
Code: Select all
var publictransport = {}
publictransport.ovinfotrain_deventer= {
station: 'station-deventer-colmschate',
destination: 'station-deventer',
title:'Colmschate -> Deventer',
show_via: 'true',
show_lastupdate:true,
provider: '9292-train',
icon: 'fas fa-train',
results: 5
};
gives me :
{
"locations": [
{
"id": "station-deventer",
"type": "station",
"stationId": "dv",
"stationType": "Station",
"name": "Deventer",
"place": {
"name": "Deventer",
"regionCode": "OV",
"regionName": "Overijssel",
"showRegion": false,
"countryCode": "NL",
"countryName": "Nederland",
"showCountry": false
},
"latLong": {
"lat": 52.257079,
"long": 6.160821
},
"urls": {
"nl-NL": "/station-deventer",
"en-GB": "/en/station-deventer"
}
},