Skip to content

BasemapGallery + SceneView rendering is broken #1126

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

Closed
dfeinzimer opened this issue Apr 1, 2025 · 3 comments
Closed

BasemapGallery + SceneView rendering is broken #1126

dfeinzimer opened this issue Apr 1, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@dfeinzimer
Copy link
Collaborator

dfeinzimer commented Apr 1, 2025

When a BasemapGallery is used with a SceneView and no items are provided to the initializer (BasemapGallery(geoModel: scene)), rendering is broken.

This appears to have started with #329. If clone() is removed from this line, rendering works correctly.

geoModel?.basemap = portal == nil ? item.basemap.clone() : item.basemap

Simulator.Screen.Recording.-.iPhone.16.-.2025-03-31.at.17.09.17.mp4

Update: Appears to have broken between 200.4.0 and 200.5.1

@dfeinzimer dfeinzimer added the bug Something isn't working label Apr 1, 2025
@mhdostal
Copy link
Member

mhdostal commented Apr 1, 2025

If it started with #329, it's been around for a while. Any fix will have to ensure that the original issue, #328, doesn't regress.

@mhdostal
Copy link
Member

mhdostal commented Apr 3, 2025

After looking at this, it seems like an issue with Basemap.clone(). That method is defined in the YAML and should work.

@dfeinzimer
Copy link
Collaborator Author

Ref Ping # 2027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants