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
HB: Center map at wp (for hwy data issue reports) #385
Comments
I've had thoughts about adding a "link here" button... A sticking point with that, as discussed in #312, is that we're starting to run out of real estate in the area above the map pane in the HB. We could use the unicode Mission creep: |
For Zoom to Fit, maybe ⛶Best I've seen so far; Unicode is a lot less helpful than I'd like here... |
fine to me |
https://leafletjs.com/reference-1.6.0.html#map-zoomlevelschange What's going on under the hood in wptedit: Line 170 in c21e895
Lines 1336 to 1340 in c21e895
|
Here's an idea that's not thought through yet. Add code to popups that appear when a waypoint is clicked that is a "permanent link" to this route centered at the given waypoint, using the current zoom level. Lines 945 to 949 in c21e895
|
I like it, but think a "link here" that would work anywhere would be more versatile. |
Can use CSS tricks to overlay a 🔍 on top of a ⛶ |
"Link Here" button is now on tmtest's showroute.php. @yakra @michihdeu can you see if this functionality meets you needs related to this issue? In any case, I think we have a few separate Issues discussed here. If there's anything that's not addressed by the Link Here button maybe new Issues should be opened? |
Works, thanks 😄 |
With #179 we have lat/lon/zoom in url now. The url is only updated when changing to another route (and removed with 'Zoom to fit').
When we click through the routes and find hwy data issues, it's nice to copy the HB link to the forum. When another person opens the link, a wp is centered and one might think that that's the relevant wp. But it isn't, see recent report. I must admit that @yakra has the wrong route. It should be DN1 or E60 centered at DN19 wp.
Nevertheless, when I wanna center the map so that the hwy data manager directly seen the wp I'm talking about, I need to center the wp in HB. It's possible by clicking on the wp line of the wp table to the left. However, the url is not updated! And that's the request.
The text was updated successfully, but these errors were encountered: