-
Notifications
You must be signed in to change notification settings - Fork 35
symbolZOrder example #245
base: master
Are you sure you want to change the base?
symbolZOrder example #245
Conversation
@captainbarbosa ready for review, pending addition of new images (as discussed)! |
de7388f
to
276798c
Compare
Fix product bundle identifier Fix SwiftLint line spacing warnings
276798c
to
eff2d81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice start! I left some minor style/formatting comments for the Objective-C example that also applies to the Swift example too. Reach out to me if you have any questions 🌟
// Add icons to the map's style. | ||
[style setImage:([UIImage imageNamed:@"oval"]) forName:@"oval"]; | ||
[style setImage:([UIImage imageNamed:@"squircle"]) forName:@"squircle"]; | ||
[style setImage:([UIImage imageNamed:@"star"]) forName:@"star"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for clarity, I recommend making the string used for the image name something more unique so that it doesn't match, like this:
[style setImage:([UIImage imageNamed:@"oval-image"]) forName:@"oval"];
That way once you set up your dictionary it would illustrate that each pair of the key/value strings are different values.
…ples into symbolzorder-example
Thanks, @captainbarbosa. Code updated per your comments. Now just waiting for you to create new images (thank you!) and then figure out about this Podfile conflict and we should be good to go. |
Might have found a bug blocking this from working: mapbox/mapbox-gl-native#13490 |
Just a first draft for now!