Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

flutter mapbox_gl : there is no zoom event #708

Open
p3im4n opened this issue Sep 27, 2021 · 4 comments
Open

flutter mapbox_gl : there is no zoom event #708

p3im4n opened this issue Sep 27, 2021 · 4 comments

Comments

@p3im4n
Copy link

p3im4n commented Sep 27, 2021

I am developing an asset tracking app in flutter with mapbox_gl I set zoom level in animateCamera function:

controller.animateCamera(CameraUpdate.newCameraPosition(CameraPosition( target: LatLng(carpos.latitude, carpos.longitude), zoom: zoom)));}

when the user changes zoom level with pinch gesture then I need to save zoom level in "zoom" variable to apply it in animateCamera function. but I didn't find any event which handles zooms events! (zoomstart,zoomend,zoomin,zoomout ,..)

@stale stale bot added the archived label Apr 16, 2022
@Anteino
Copy link

Anteino commented May 19, 2022

I am having the same issue. Any update on this?

@stale stale bot removed the archived label May 19, 2022
@p3im4n
Copy link
Author

p3im4n commented May 23, 2022

I am having the same issue. Any update on this?

there was a trick !!
I will answer u as soosm as possible...

@Anteino
Copy link

Anteino commented May 24, 2022

If you could I would highly appreciate it :)

@delajose90
Copy link

Hi @p3im4n, did you already solve this? I'm also developing a tracking app and I need to handle the zoom events.

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

No branches or pull requests

3 participants