Skip to content

Layer color changes not rendered until map interaction in 11.18.x #2400

@raphschwander

Description

@raphschwander

Environment

  • Xcode version: 26.2 (Build 17C52)
  • iOS version: 18.0+
  • Devices affected: iPhone (Simulator and Device)
  • Maps SDK Version: 11.18.0, 11.18.1

Observed behavior and steps to reproduce

  1. Set a layer's color programmatically (e.g., fill color or line color)
  2. Observe that the layer color does not visually update on the map
  3. Pan or zoom the map
  4. The layer color now updates and displays correctly

The color change only renders after user interaction triggers a map redraw.

Expected behavior

Layer color changes should render immediately when the property is set, without requiring map interaction to trigger a visual update.

Works correctly in version 11.14.2.

Notes / preliminary analysis

Regression introduced between 11.14.2 and 11.18.0.

Additional links and references

  • Last working version: 11.14.2
  • Confirmed broken in: 11.18.0, 11.18.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something is broken!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions