graphhopper/graphhopper-maps

Map doesn't center if no route could be found

Open

#306 opened on Feb 8, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (63 forks)github user discovery
good first issue

Repository metrics

Stars
 (161 stars)
PR merge metrics
 (PR metrics pending)

Description

See https://github.com/graphhopper/graphhopper/issues/2745

https://graphhopper.com/maps/?point=68.95933%2C179.993481&point=68.954544%2C-179.954919&profile=car&layer=Omniscale

Expected behaviour

The map should be centered at the selected start/end points even if no route could be found

image

Actual behaviour

image

Contributor guide