Closed hbruch closed 4 years ago
The GeoJson layer should be added in the config.hb.js file.
To run DT-UI in HB config: CONFIG=hb yarn run dev
I made no modifications on the HB version of Digitransit however (1) I constantly get SyntaxError in JSON and (2) sometimes Source map error. (sockjs.js.map) https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors#Invalid_source_map
devtools: 'inline-map-source'
in webpack.config.babel.js which seems to solved the source map error (at least I don't get any notifications about it).//# sourceMappingUrl=sockjs.js.map
as the last line of the sockjs.js file. (in node_modules)I have no idea what causes the error.
This solution might have something to do with this? Or in connection with the graphql?
This is quite awkward, but this morning I ran the UI in a private browser window and it worked perfectly. Something must be wrong with Firefox or the plugins I have installed... // I got a brand new error and googled it.
All mentioned layers are added and merged to the master branch.
When feature is a Point:
When feature is a MultiPoint:
@hbruch Do we have to be able to set these coordinates (for example a bike shop) as origin or destination?
The following POI layers (extracted from OSM) should be added:
Taxi stand
Bicycle infrastructure
Parkings
Charging Infrastructure:
Bike/Carsharing locations:
Still to be defined:
Digitransit documentation describes how to add GeoJSON layers.
Additional info: