cyipt / actdev-ui

ActDev - Active travel provision and potential in planned and proposed development sites: UI
https://actdev.cyipt.bike
GNU General Public License v3.0
2 stars 2 forks source link

Add railway and bus stop layers #72

Open mvl22 opened 3 years ago

mvl22 commented 3 years ago

Add railway and bus stop layers

mvl22 commented 3 years ago

Just to say I got this working pretty quickly this morning, but the layout will need adjusting before I can push this live, as the button lozenge is too long now on small screens.

Screenshot 2021-03-19 at 21 08 17

Robinlovelace commented 3 years ago

Could there be a combined 'PT' layer? I recall that would be tricky on the JS side but if possible could save a few mm. Look great though and seeing where the stops are gives a good first indication of PT provision (although not trip frequency which is relatively easy to change once the stops are there).

mvl22 commented 3 years ago

Could there be a combined 'PT' layer? I recall that would be tricky on the JS side

No, the layerviewer library does not have support for multiple distinct sources per layer, and adding support for multiple POI types on the server side API is not trivial.

but if possible could save a few mm

Doesn't really solve the problem anyway, as the overflow would still be there.

Am considering how best to solve this UI issue.

Siequnu commented 3 years ago

Suggest a scrollable div centered within the map div.