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 support for text-variable-anchor-offset property #2921

Merged
merged 48 commits into from
Oct 28, 2024

Conversation

wangyingfang
Copy link
Collaborator

@wangyingfang wangyingfang commented Oct 9, 2024

Closes #2358. Support text-variable-anchor-offset property

include/mbgl/style/layers/symbol_layer.hpp Outdated Show resolved Hide resolved
scripts/generate-style-code.mjs Show resolved Hide resolved
src/mbgl/layout/symbol_instance.cpp Show resolved Hide resolved
src/mbgl/layout/symbol_layout.cpp Show resolved Hide resolved
src/mbgl/renderer/buckets/symbol_bucket.cpp Outdated Show resolved Hide resolved
src/mbgl/style/expression/value.cpp Show resolved Hide resolved
src/mbgl/layout/symbol_instance.hpp Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Oct 10, 2024

Bloaty Results (iOS) 🐋

Compared to main

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.8%  +110Ki  +1.0%  +128Ki    TOTAL

Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results-ios/pr-2921-compared-to-main.txt

@wangyingfang
Copy link
Collaborator Author

@louwers @random3940 please help review again.

@random3940
Copy link
Collaborator

LGTM!

@louwers
Copy link
Collaborator

louwers commented Oct 22, 2024

Thank you, having another look over it.

Copy link
Collaborator

@louwers louwers left a comment

Choose a reason for hiding this comment

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

Thank you for this excellent contribution!

I left a few more small comments, let's merge after those are addressed.

@random3940 Feel free to also formally approve it using GitHub's UI.

@wangyingfang
Copy link
Collaborator Author

wangyingfang commented Oct 24, 2024

@louwers @random3940 I resolve the latest comments, please help review again.

@random3940
Copy link
Collaborator

@louwers, iOS C++ test fails with this error:

<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>

It looks like some CI glitch to me. Just in case I've re-ran tests from this branch locally and they pass.

@louwers
Copy link
Collaborator

louwers commented Oct 24, 2024

I will take a look at it.

@louwers louwers changed the title Text variable anchor offset Add support for text-variable-anchor-offset property Oct 27, 2024
@wangyingfang wangyingfang reopened this Oct 28, 2024
@louwers louwers merged commit 1a63194 into maplibre:main Oct 28, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request js-parity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support text-variable-anchor-offset property
3 participants