Commit Graph

5 Commits

Author SHA1 Message Date
Peter Nerlich
e43f883f7d fix metadata access and pos processing 2022-01-21 07:49:21 +01:00
Peter Nerlich
315cb79d4e display linepath_from_prv if available, or rail_pos, or entry coords as fallback 2022-01-21 07:49:21 +01:00
Peter Nerlich
25e177fbb9
Fix Trainlines (#177) (#230)
* add global getMapDataWithAttributeLikeGlobalQuery

* add getMapDataWithAttributeLikeGlobalQuery for postgres

* perform global search when position missing (sqlite)

* perform global query when pos missing (postgres)

* TrainelineOverlay: query full information on visible lines before drawing

* hopefully fix errors, minor efficiency improvements

* stupid mistake

* you know it's probably late when mistakes like this happen

* same for postgres

* more optimizations
2022-01-17 08:53:45 +01:00
BuckarooBanzay
70ae7deb64 fix jshint issues 2021-06-21 08:26:18 +02:00
BuckarooBanzay
4eccd1edd6 switch to embed.FS 2021-04-12 13:03:10 +02:00