HTML Markup in web map labels

391
1
11-20-2019 12:35 PM
Status: Open
KadeSmith
Occasional Contributor

I want the ability to put HTML markup in a web map label. This would allow me to create a link to other pages based on a label, or display an image from another server as my label, or even stack my labels in a web map:

"<a href='http://someurl.com/featuredetails.aspx?featureid='" + $feature.id + ">" + $feature.labelvalue + "</a>"

or

"<img url='" + $feature.imageurl + "' />" + $feature.labelvalue

or

$feature.labelvalue + "<br />" + $feature.labeltitle

1 Comment
PeterKnoop

It would be nice if this behaved the same way in Pro and Online, so that Label customizations you make would work the same in both systems. Either adding support for a subset of HTML markup in Labels to both Pro and Online, or adding support for Pro's existing set of text formatting tags for Labels to Online.