Polylines make application unresponsive. #21292
Labels
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
platform/android 🤖
s/needs-repro
Attach a solution or code which reproduces the issue
t/bug
Something isn't working
Description
I have created a GPS application. When tracking movements polylines were drawn to show the path the user is running. However, the application kept crashing/freezing after a few polylines were drawn (tenth of a mile, tracked position every 5 seconds). When the functionality for polylines was removed, clearing the map and just showing the users current location successfully ran (tracking the distance as well made it two miles no issues, using the circle functionality to display current location).
Steps to Reproduce
Using the listening code from the Microsoft .NET Maui website with a timer to check change in location every 5 seconds, draw polyline from last location to current location.
Link to public reproduction project repository
No response
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Google Pixel 8
Did you find any workaround?
I removed the polylines and just tracked the users location without showing a path. Once the polyline functionality was removed application did not freeze/stop.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: