Comments (10)
@jimmyjzemoso we have a similar feature coming, see mapbox/mapbox-gl-native#13942.
from mapbox-gl-native-android.
Hello,
What's happening with this issue? In our project location component animations put TREMENDOUS stress on CPU to the extent of abandoning LocationComponent and reinventing the wheel ourselves :(
Alex
from mapbox-gl-native-android.
My understanding from OP is that we're waiting for https://github.com/mapbox/mapbox-gl-native/issues/12752 to be added to our core rendering library, before being able to add the Android-side option. @LukasPaczos please correct me if I'm wrong.
/cc: @tmpsantos
from mapbox-gl-native-android.
This is correct @zugaldia.
@maxtracking as a stopgap solution, you can throttle the component's animation frames output via LocationComponent#setMaxAnimationFps
as shown in mapbox/mapbox-gl-native#13678 or throttle the whole Map's FPS output when tracking the location via MapView#setMaximumFps
. We've seen great results in our Navigation SDK after implementing both of the above.
from mapbox-gl-native-android.
Thanks a lot, @LukasPaczos, I'll certainly try the one for MapView. We had to switch to the custom layer for user's location anyway due to the complexity of linked layers but MapView fps are under scrutiny now :)
from mapbox-gl-native-android.
Hey @LukasPaczos I can see an expanding animation in Ios current location marker. Is it something that I can enable in android as well??
from mapbox-gl-native-android.
Hi! It would also be great to have an option to disable the location's rotation component animation or at least make its animation much faster. I'm using forceLocationUpdate with a bearing and the rotation indicator animation is much slower than the location update
from mapbox-gl-native-android.
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
from mapbox-gl-native-android.
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
from mapbox-gl-native-android.
Disabling location animation should work reliably without rendering artifacts when using
LocationComponentActivationOptions#useSpecializedLocationLayer
set totrue
LocationComponentOptions#trackingAnimationDurationMultiplier
set to0
from mapbox-gl-native-android.
Related Issues (20)
- Change MAPBOX_ACCESS_TOKEN on runtime HOT 1
- jcenter sunset - release code to maven HOT 3
- Incorrect TalkBack accessibility feedback when gesture interaction is disabled
- Error when trying to display map
- MapView sometime doesn't load the map `(failed to connect to api.mapbox.com/64:ff9b::6c9d:ba (port 443))` HOT 1
- Location tracking issues Android 12 HOT 1
- Crash when using android.uid.system
- Flutter useHybridComposition cause crash HOT 4
- android 12, APP keep crashing
- Intergrate Android Auto
- Source code for mapbox-android-sdk-gl-core
- Mapbox sometimes crash, android 9
- The animation of the location component has lags when the RenderMode.COMPASS and mapbox_elevation=0dp are set
- Mapbox gets app rejected HOT 1
- Center to user location
- PropertyFactory.lineColor not working HOT 1
- E2E Tests implementation
- SoLoader load 'mapbox-gl' with FileLockInterruptionException
- Unable to generate DOCS using javadoc in android studio
- LocationComponent crashing on Android 13 and 12 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-gl-native-android.