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.

Raise exception when adding generic MGLSource to style #7059

Closed

Description

@1ec5

#6793 removed an exception that presented the developer with a helpful message if they tried to add a source to the style that was created as an MGLSource rather than a concrete subclass. Now the developer gets an unrecognized selector exception instead. The exception should be added to either -[MGLStyle addSource:] (for parallelism with -addLayer: and -insertLayer:belowLayer:) or -[MGLSource addToMapView:] (which is currently declared but unimplemented).

/cc @incanus @boundsj

Activity

  1. added
    iOS
    macOS
    on Nov 14, 2016
  2. added this to the ios-v3.4.0 milestone on Nov 14, 2016
  3. added a commit that references this issue on Nov 14, 2016
    69e4e52
  4. added a commit that references this issue on Nov 15, 2016
    eefda0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

crashiOSmacOSruntime styling

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions