Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add closure attribute option #713

Open
1ec5 opened this issue Jun 27, 2022 · 0 comments
Open

Add closure attribute option #713

1ec5 opened this issue Jun 27, 2022 · 0 comments
Assignees

Comments

@1ec5
Copy link
Contributor

1ec5 commented Jun 27, 2022

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

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

No branches or pull requests

3 participants