Skip to content

Commit

Permalink
Last polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 15, 2024
1 parent 92a4b0c commit 3fc1057
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client-next/src/components/MapView/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export function MapView({
onContextMenu={(e) => {
setShowContextPopup(e.lngLat);
}}
// it's unfortunate that you have to list these layers here.
// maybe there is a way around it: https://github.com/visgl/react-map-gl/discussions/2343
interactiveLayerIds={['regular-stop', 'edge-fallback', 'edge', 'link']}
onClick={showFeaturePropPopup}
// put lat/long in URL and pan to it on page reload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import org.opentripplanner.routing.graph.index.StreetIndex;
import org.opentripplanner.street.model.edge.Edge;

/**
* Selects all edges to be displayed for debugging.
*/
public class EdgeLayerBuilder extends LayerBuilder<Edge> {

private final StreetIndex streetIndex;
Expand Down

0 comments on commit 3fc1057

Please sign in to comment.