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.

Replace MapChange enum and Backend::notifyMapChange with dedicated observer interface #6383

Closed

Description

@jfirebaugh

The MapChange enumeration values have their roots in MapKit semantics -- yet are increasingly deviating from those semantics, or expanding on them. We should replace them with an API that is less influenced by the API of a particular platform, and more influenced by the pattern we use elsewhere for observation, e.g. the style observer. It should be general enough that MapKit-like change notifications can be built on top of it.

Activity

  1. added
    Core
    on Sep 19, 2016
  2. 1ec5 commented on Sep 19, 2016

    @1ec5
    Contributor

    The MapChange enum was never particularly well-suited for MapKit semantics, either, because it was impossible to provide relevant context, such as a camera or error pointer, with a change notification. Awhile back, I started experimenting with making map change notifications more object oriented in the 1ec5-delegate-fail-loading-6142 branch, but imitating the style observer would be even better.

  3. jfirebaugh commented on Sep 22, 2016

    @jfirebaugh
    ContributorAuthor
  4. changed the title [-]Replace MapChange enum and `View::notifyMapChange` with dedicated observer interface[/-] [+]Replace MapChange enum and `Backend::notifyMapChange` with dedicated observer interface[/+] on Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Corerefactor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions