Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

MGLMapView.style is not key-value compliant #6096

@1ec5

Description

@1ec5

MGLMapView’s style method is implemented as a factory method, returning a newly allocated MGLStyle object every time it’s called. But it should be a property and a KVO-compliant one at that: MGLMapView should own an MGLStyle object that it holds onto until styleURL changes.

/cc @frederoni

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions