Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Fix issue #9457 (keep-upright for pitched lines) - #9478

Merged
ChrisLoer merged 2 commits into
masterfrom
cloer_9457
Jul 12, 2017
Merged

ChrisLoer merged 2 commits into
masterfrom
cloer_9457

Conversation

@ChrisLoer

Copy link
Copy Markdown
Contributor

Molly and I just did a quick JS to C++ port of mapbox/mapbox-gl-js#4853

As we were working on it, I noticed that in both the JS and native versions, placeGlyphsAlongLine assumes it's not being passed a label with 0 glyphs. That assumption appears to hold, but it's a bit brittle.

/cc @ansis @mollymerp

@ChrisLoer
ChrisLoer requested review from ansis and mollymerp July 11, 2017 18:32
@kkaefer kkaefer added the Core The cross-platform C++ core, aka mbgl label Jul 12, 2017

@ansis ansis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

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

Labels

Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants