graphhopper / graphhopper/graphhopper-maps

Map doesn't center if no route could be found

Open
#306 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
168
Forks
63
Avg merge
1d 1h
Merged PRs (30d)
2

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](https://user-images.githubusercontent.com/22315436/217498286-6e6196fa-d866-49c4-8da2-b6dfcb0b6b93.png)

## Actual behaviour

![image](https://user-images.githubusercontent.com/22315436/217498495-8e2e4404-b66d-419d-a0d7-769dafcf0b74.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.