mapbox / mapbox/mapbox-directions-swift

Add closure attribute option

Open
#713 0 comments 0 reactions 1 assignee View on GitHub

@MaximAlien is already working on this.

Since Jul 22, 2022.

feature jira-sync-complete platform parity
Dominant language
Swift
Stars
206
Forks
99
Avg merge
7h 54m
Merged PRs (30d)
3

Description

The Directions API added a closure option to the annotations query parameter and a corresponding closure property to the per-leg annotation object in 2019. We should add a closure case to AttributeOptions and a closures property to RouteLeg.Attributes. It shouldn’t be called segmentClosures: this annotation type is different from the others in that the array contains a list of closures, similar to the incidents array, rather than one element per leg segment.

/ref #164 mapbox/mapbox-java#1251
/cc @mandeepsandhu

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.