Skip to content

Do not show flicker/jump when map loads with route coordinates #82

Closed

Description

@easbar

For example when we open the app with this url: http://localhost:3000/?point=48.098438%2C15.203637&point=47.755246%2C17.388894&profile=car we first see the map and then the map jumps to the route.

See also discussions in #53, #71, #77.

Activity

  1. karussell commented on Jun 9, 2021

    @karussell
    Member

    strange: when I open https://graphhopper.com/maps2 in Desktop firefox the map flicker/jump does no longer happen but it still happens in mobile firefox :( (without any route coordinates!)
    It appears it initially uses the correct "slightly zoomed in" world wide bbox and then it zooms out to default bbox or the /info bbox?

  2. easbar commented on Jun 11, 2021

    @easbar
    MemberAuthor

    without any route coordinates

    the initial bounding box was ignored when the app loaded until #98. Since this is fixed now we see a similar problem no matter if there are route coordinates or not. The map is created with a large bounding box and then jumps to either the info box or the route box. Both cases will be fixed with #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions