New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimize / Auto-Hide "maps-routing-control leaflet-control" and Improvement #1068
Comments
@ant0nwax do you have some css experience? I tired some stuff, but nothing which I produced convinced me. /* Inline #367 | http://localhost:8080/index.php/apps/maps/ */ [data-v-3074bd5c] .leaflet-left { [data-v-3074bd5c] .leaflet-control { /* Inline #304 | http://localhost:8080/index.php/apps/maps/ */ .content[data-v-f8d5ac8e] * { /* Inline #364 | http://localhost:8080/index.php/apps/maps/ */ .leaflet-top, .leaflet-bottom { .leaflet-top .leaflet-control { .leaflet-top { /* Inline #335 | http://localhost:8080/index.php/apps/maps/ */ .maps-search-control[data-v-5c622222] { .maps-search-control #search[data-v-5c622222] { /* Element | http://localhost:8080/index.php/apps/maps/ */ .maps-search-control { /* Element | http://localhost:8080/index.php/apps/maps/ */ div.leaflet-top:nth-child(1) { /* Element | http://localhost:8080/index.php/apps/maps/ */ #search { And |
hi @tacruc |
Thank you very much @tacruc |
I started using nextcloud maps integrated with mapbox to replace google maps :)
I came across one issue when I use the maps:
The leaflet where I set "Start" and "Destination" does cover the screen in any case.
It is not a big issue when you use a Desktop with a FullHD resolution.
It is a REALLY BIG issue when you try to use the mobile view on Android
The leaflet covers nearly ALL of the screen
There are two independent issues:
The (right) sidebar hamburger menu covers the "bar-button v-popper--has-tooltip" Find directions button, when you are on portrait mode on Android in a App Window, the only workaround at the moment is to temporarily tilt the phone to landscape mode and then you can press the Find directions button, that means the maximum size of the leaflet must be corrected by substracting the size of the "button-vue__icon" class="icon icon-menu-sidebar"
It would be REALLY NICE TO HAVE something like a minimize or hide of the search after the route is calculated. I attach a screen that you see how much the leaflet uses... If you would use the tool for navigation (you see your GPS coordinates as a blue spot) and could follow the track... but the issue is that the route displayed in text format covers the complete maps and so the maps app is still unusable as navigation replacement for OSM+ :) My suggestion would be: why do we not place the whole search in the (right) sidebar... in case of Navigation the (right) sidebar is usually empty in my setup.
Thank you for your kind support whoever will work on this one day.
The text was updated successfully, but these errors were encountered: