Reputation: 1144
I'm working with HERE mobile SDK, and I would know if there is a way to create a labeled marker. I would a marker, with an icon (background) and a text on this marker.
I tried with the MapLabeledMarker
, but app crashes with a strange message:
Marc code provided is invalid
Thanks for any help
Upvotes: 0
Views: 952
Reputation: 1478
Are you calling the MapLabeledMarker#setLabelText(String marcCode, String text)
API with an empty or invalid marcCode
String
? Marc codes: http://www.loc.gov/marc/languages/language_code.html
The MapLabeledMarker
supports localization by accepting different text strings for different languages, so you need to indicate the language of the text you are providing.
Upvotes: 2