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

added text changing to symbol example - #7318

Closed
cammace wants to merge 1 commit into
masterfrom
cam-symbol-layer-text-ex
Closed

cammace wants to merge 1 commit into
masterfrom
cam-symbol-layer-text-ex

Conversation

@cammace

@cammace cammace commented Dec 7, 2016

Copy link
Copy Markdown
Contributor

Added a text changing example to the symbol activity.

ezgif com-video-to-gif 1

cc: @ivovandongen

@cammace cammace added the Android Mapbox Maps SDK for Android label Dec 7, 2016

@ivovandongen ivovandongen 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.

@cammace Is this different from the existing examples?

layer.setProperties("{title}".equals(layer.getTextField().getValue()) ? textField("āA") : textField("{title}"));

} else {
layer.setProperties(iconSize(3f));
}

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.

Could you add this as a menu item like the other text manipulations?

@cammace

cammace commented Dec 7, 2016

Copy link
Copy Markdown
Contributor Author

Wow missed that menu in top right. Closing.

@cammace cammace closed this Dec 7, 2016
@cammace
cammace deleted the cam-symbol-layer-text-ex branch December 7, 2016 18:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants