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

"Failed to create LayerType" when using allLayerIdentifiers with custom layer added #1768

Open
landyrev opened this issue Dec 1, 2022 · 0 comments
Labels
bug 🪲 Something is broken!

Comments

@landyrev
Copy link

landyrev commented Dec 1, 2022

Environment

  • Xcode version: 14.1
  • iOS version: any
  • Devices affected: any
  • Maps SDK Version: 10.9.1

Observed behavior and steps to reproduce

  1. Implement custom layer with CustomLayerHost
  2. Add custom layer to the chart
  3. Get layers identifiers: let identifiers = mapView.mapboxMap.style.allLayerIdentifiers
  4. Get the Failed to create LayerType from type custom error

Expected behavior

  1. You get the list of layers

Notes / preliminary analysis

  1. Custom layers have custom type
  2. There is no such type in LayerType.swift.
@landyrev landyrev added the bug 🪲 Something is broken! label Dec 1, 2022
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

1 participant