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.

MGLStyleFunction must have at least one stop #7249

Closed

Description

@frederoni

Raise an exception if MGLStyleFunction is initialized without any stops.

ref #7248

Activity

  1. added
    iOS
    macOS
    on Nov 30, 2016
  2. added this to the ios-v3.4.0 milestone on Nov 30, 2016
  3. 1ec5 commented on Nov 30, 2016

    @1ec5
    Contributor

    Is #6095 still an issue? Can mbgl::style::StyleLayer property accessors return unset optionals these days, or do hey still return stopless functions?

  4. jfirebaugh commented on Nov 30, 2016

    @jfirebaugh
    Contributor

    To my knowledge, they've never returned stopless functions. When a property is unset, the accessor returns a PropertyValue set to the "undefined" variant value.

  5. self-assigned this
    on Dec 6, 2016
  6. boundsj commented on Dec 7, 2016

    @boundsj
    Contributor

    This was fixed by #7309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

iOSmacOSruntime styling

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions