ejay
ejay

Reputation: 1144

HERE Map and labeled marker

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

Answers (1)

AndrewJC
AndrewJC

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

Related Questions