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

CircleStyleLayer + SymbolStyleLayer.iconColor #17

Merged
merged 8 commits into from
Jan 28, 2024

Conversation

hactar
Copy link
Collaborator

@hactar hactar commented Jan 27, 2024

  • Made a copy of the SymbolStyleLayer code and then modified it to be a CircleStyleLayer.
  • Added an example for usage.
  • Added .iconColor for SymbolStyleLayer

Here's a screenshot of a circle layer under a symbol layer.

Simulator Screenshot - iPhone 15 Pro - 2024-01-27 at 21 33 54

@ianthetechie ianthetechie self-requested a review January 28, 2024 14:52
Copy link
Collaborator

@ianthetechie ianthetechie left a comment

Choose a reason for hiding this comment

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

Thanks for keeping the style so consistent with the other layers; that made it really easy to review, and highlights further areas where I hope we can improve the macro generation over time haha (so much of the code is essentially boilerplate; it'll just be a challenge to automate away).

Aside from the minor suggestion, I think you may actually be able to make the property names in the DSL shorter and more idiomatic as you suggested; see my latest comments on #16.

Sources/MapLibreSwiftDSL/Style Layers/Circle.swift Outdated Show resolved Hide resolved
@ianthetechie ianthetechie merged commit b6233a0 into maplibre:main Jan 28, 2024
1 check passed
@hactar
Copy link
Collaborator Author

hactar commented Jan 28, 2024

@ianthetechie You're faster than I can re-request review 😁

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

Successfully merging this pull request may close these issues.

2 participants