Skip to content

Heading keeps resetting to north #145

@Lah123

Description

@Lah123

Describe the bug
Every time I turn my device the heading changes shortly but then resets to north.

To Reproduce
Steps to reproduce the behavior:
Just any map with the CurrentLocationMarker.

Expected behavior
I do not expect the heading to reset to north.

Smartphone (please complete the following information):

  • OS: Andriod 13.0, physical device
  • Flutter map location marker version 10.1.0

This is the code snippit I use:

              CurrentLocationLayer(
                  style: LocationMarkerStyle(
                      marker: const DefaultLocationMarker(color: colorPrimary),
                      headingSectorColor: colorPrimary,
                      accuracyCircleColor: colorPrimary.withValues(alpha: 0.3)))

Additional context
Here a video, during the recording I turn my phone from left to right. The map is oriented to the north. I'm facing west (ish) with my phone, so it should point down. Every time it janks to north is the bug I'm facing:

Video.van.WhatsApp.op.2025-04-19.om.17.19.57_48e05252.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions