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

Adding a polyline with a set .linePattern property breaks other polyline annotations inside of the same annotation manager #2222

Open
crtsajnic-k opened this issue Aug 5, 2024 · 0 comments
Assignees
Labels
bug 🪲 Something is broken!

Comments

@crtsajnic-k
Copy link

Environment

  • Xcode version: 15.4/16.0-beta4
  • iOS version: 17.5/18.0
  • Devices affected: All
  • Maps SDK Version: Checked only on 11.5.2 but probably happens on older versions as well.

Observed behavior and steps to reproduce

Adding a polyline annotation with a set .linePattern property to a polyline manager with existing polyline annotations results in the removal of already added polylines in the annotation manager. Consecutive attempts to add new polyline annotations fail as well.

Expected behavior

Adding a polyline annotation with a set .linePattern property shouldn't affect neither already existing annotations nor disable the addition of new annotations to the polyline annotation manager. Polyline annotations with or without .linePattern property should be able to coexist inside of the same annotation manager.

Additional links and references

View controller implementation for replication:
ViewController.txt

Video of issue:
https://github.com/user-attachments/assets/f34aef99-2964-4abb-a2f6-cdd54e281482

@crtsajnic-k crtsajnic-k added the bug 🪲 Something is broken! label Aug 5, 2024
@maios maios self-assigned this Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something is broken!
Projects
None yet
Development

No branches or pull requests

2 participants