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
Mapview: Clickable segments/points #228
Comments
Ooh. Yes. |
I think I like the idea even more than #95. Not just a list of all routes in a defined radius but exactly the route(s) of a segment. I think it's more useful and I guess it should be easier to be implemented. Nevertheless, the other feature might have additional benefit. |
This might have become easier with the recent addition of graph edge popups in HDX. |
tmtest version (code in branch polylinepopups for now) shows only route like "NY NY5" or "RI US1BusPro", but the intent is to include all routes carried by the segment, the visible waypoint endpoints of each, an HB link for each, and the segment length. Since the Polylines are stacked on top of each other for concurrent routes, things are more complicated than they'd seem at first. |
Would it make sense to add concurrency info to the DB? |
In mapview.php, system.php & region.php, clicking an edge will produce a popup where I clicked, but pan to a seemingly random location. Lines 820 to 835 in 7dfd8e3
Do we have the wrong connIndex maybe?
Must be what you mean by
|
This functionality is live on the production site. |
A possible feature to add: click on any polyline and get an infowindow about that segment, including links to the HB for each route carried by that segment.
The text was updated successfully, but these errors were encountered: