Superscript in legend title in ArcGIS API for JavaScript

603
2
Jump to solution
04-30-2018 01:11 AM
JosefDivín
New Contributor

I would like to show in legend "Title" the superscript. I have this string "Building area (m2)" and I need this text "Building area (m2)". Which tag should I choose to display the text correctly? Thanks.

Here's a piece of code:

legendOptions: {
   title: "Building area (m2)"
}

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

Have you tried using Alt+0178? (from Windows Character Map)

View solution in original post

2 Replies
KenBuja
MVP Esteemed Contributor

Have you tried using Alt+0178? (from Windows Character Map)

JosefDivín
New Contributor

Thanks lot. Now it is work correctly. Thanks.

0 Kudos