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.

Add documentation for data-driven styling #7924

Closed

Description

@boundsj

Support for data-driven styling for iOS and macOS is being added in #7596. After we have used the API proposed there and before the final Mapbox iOS SDK 3.5.0 beta, we will fully document the new APIs added for DDS.

This will include (at least):

  • MGLStyleFunctionOption string enum
    • MGLStyleFunctionOptionInterpolationBase
    • MGLStyleFunctionOptionDefaultValue
  • MGLInterpolationMode enum
    • MGLInterpolationModeExponential
    • MGLInterpolationModeInterval
    • MGLInterpolationModeCategorical
    • MGLInterpolationModeIdentity
  • Update class documentation for MGLStyleValue (as a class cluster it represents something different now)
  • +[MGLStyleValue valueWithInterpolationMode:cameraStops:options:]
  • +[MGLStyleValue valueWithInterpolationMode:sourceStops:attributeName:options:]
  • +[MGLStyleValue valueWithInterpolationMode:compositeStops:attributeName:options:]
  • MGLCameraStyleFunction (and all methods and properties)
  • MGLSourceStyleFunction (and all methods and properties)
  • MGLCompositeStyleFunction (and all methods and properties)
  • Update generated code examples in MGLDocumentationExampleTests.swift to use camera functions and maybe add examples for source and composite functions
  • Update guides/For Style Authors.md with DDS specific terminology differences
  • Update guides/Runtime Styling.md with information about DDS (or add a DDS specific guide)

cc @friedbunny @jmkiley @1ec5 @incanus @ericrwolfe @pveugen

Activity

  1. added
    iOS
    macOS
    release blocker
    on Feb 2, 2017
  2. added this to the ios-v3.5.0 milestone on Feb 2, 2017
  3. self-assigned this
    on Feb 2, 2017
  4. 1ec5 commented on Feb 2, 2017

    @1ec5
    Contributor

    We should fill out the documentation before the first beta, because that's when we tell developers to start coding against new features in nontrivial projects. We can ship an alpha without the documentation if necessary to meet time commitments, however.

  5. added
    beta blocker
    and removed
    release blocker
    on Feb 2, 2017
  6. 1ec5 commented on Feb 8, 2017

    @1ec5
    Contributor
    • Update the iOS and macOS changelogs to discuss all that’s changed
  7. boundsj commented on Feb 8, 2017

    @boundsj
    ContributorAuthor

    #7931, #7943, and #7960 added API documentation that should be suitable for the beta release. We still need a PR to update the guides but I don't consider that a requirement for the beta.

    Before I create the beta, I will wait for:

  8. added
    release blocker
    and removed
    beta blocker
    on Feb 9, 2017
  9. 1ec5 commented on Feb 17, 2017

    @1ec5
    Contributor

    #8025 will update the MGLFeature documentation to discuss more ways a feature’s attributes can be used, including in source functions.

  10. removed
    release blocker
    on Mar 13, 2017
  11. boundsj commented on Mar 13, 2017

    @boundsj
    ContributorAuthor

    I'm removing release blocker and closing this issue. The work to update and add guides continues in #8354 and it is possible that that PR may also be sufficient for #8192.

    cc @jmkiley

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

Metadata

Metadata

Assignees

Labels

documentationiOSmacOSruntime styling

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions