ThinkGeo.com    |     Documentation    |     Premium Support

Adding text only to the map

I’m trying to figure out the best way to add text of a user’s choice to the map. Given long/lat, the text to be shown, and maybe a font style, the text should then be shown on the map.

I’ve seen examples of using markers with the content property being set to a textbox, but I would like the text added without a marker.

Thanks in advance!

Hi Dan,

The marker should be a easier solution, if you don’t want to use marker, you can show the custom text as textstyle in an inmemory featurelayer.

As below is a simple sample for it:

8744.zip (101.1 KB)

Regards,

Ethan