Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maplibre.UserLocation doesn't work #457

Open
szk5 opened this issue Sep 25, 2024 · 1 comment
Open

Maplibre.UserLocation doesn't work #457

szk5 opened this issue Sep 25, 2024 · 1 comment

Comments

@szk5
Copy link

szk5 commented Sep 25, 2024

Hello,

We found a a bug?, when we tried to use MapLibreGL.UserLocaton and FollowUserLocation with Maplibre 10

<MapLibreGL.UserLocation androidRenderMode="compass" showsUserHeadingIndicator={true} onUpdate={onLocationUpdate} />
<MapLibreGL.Camera ref={cameraRef} {...mapOption} followUserMode='normal' />

We call this code snipppet from async function.
The problems are the following:

  • the userlocation is sometimes work but not correct sometimes not work
  • the followUserMode doesn't work

We use Maplibre 10 and they are don't work but
in the Maplibre 9 location okk
Following works on emulator but doesn't work on phone Google Pixel

Thank you for your help.

@KiwiKilian
Copy link
Collaborator

KiwiKilian commented Oct 11, 2024

This is hardly a minimal reproduction. It's unclear what props you are actually passed to MapLibreGL.Camera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants