You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Hello there MapBox team!
First of all, thanks You for the great product!
Our Company recently decided to switch from GoogleMaps to MapBox.
Migration is going pretty smooth and straightforward. However we are facing one issue.
Our use case is that once user stops zooming, moving the camera we perform an Api Request which takes the currently visible region from the map and display some data.
The old way( google maps way) to implement this use case was to use OnCameraIdleListener which worked as expected.
Unfortunately map box Android SDK doesn't provide any similar method. Only method what we can use is OnCameraChangeListener .
The problem with this callback is that it sometimes returns the same value for a few seconds, even without touching/moving the map. So in case we would use this callback we are facing an issue ,that map is not being moved but callback is still triggered.
@Petrulak Thank you for the report! Luckily we are working on adding the requested OnCameraIdleChange listener methods in #8644 (originally defined in #6350). This feature is aimed to be released with the 5.1.0 release. I'm going to close this issue as the reported bug occurs on a to-be deprecated api. For work around, you could look into listening to specific gestures with eg. MapboxMap#setOnScrollChangeListener or hook into OnMapChange events with mapView#setOnMapChangeListener.
can't give definitive answer on a concrete date (our initial aim was somewhere in May),
The main feature (extrusions/3D buildings) has just landed on master and we will start doing beta builds this week.
For a final release we aim at having a couple of beta's to ensure stability.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there MapBox team!
First of all, thanks You for the great product!
Our Company recently decided to switch from
GoogleMaps
toMapBox
.Migration is going pretty smooth and straightforward. However we are facing one issue.
Our use case is that once user stops zooming, moving the camera we perform an Api Request which takes the currently visible region from the map and display some data.
The old way( google maps way) to implement this use case was to use OnCameraIdleListener which worked as expected.
Unfortunately map box Android SDK doesn't provide any similar method. Only method what we can use is OnCameraChangeListener .
The problem with this callback is that it sometimes returns the same value for a few seconds, even without touching/moving the map. So in case we would use this callback we are facing an issue ,that map is not being moved but callback is still triggered.
Do You guys have some workaround or thoughts how to solve this issue ?
We are using
com.mapbox.mapboxsdk:mapbox-android-sdk:5.0.2@aar
Thank You!
The text was updated successfully, but these errors were encountered: