Layer labels show as hyperlink in viewer legend
Hi,
I have a map service layer, hosted myself, where I want the labels of the layer to start with numbers. This works fine in the webviewer, except for when the number starts with a number with a dot/point, e.g. '1.000 ...'. In those cases, all of a sudden the webviewer reads the labels as hyperlinks, as phone numbers (opening in for example skype). Added is an image, which makes this vague story a lot clearer. As you can see I tried different forms, with/without spaces, but that has no influence.
Does anybody know how I can prevent this hyperlink from showing?

0
-
Found the answer, with help of a collegue:
The problem is specific to Edge browser (didn't occur in other browsers), and can be resolved by adding a meta tag to the 'index.html' file of the viewer, found in the wwwroot folder.
The tag is as follows: < meta name="format-detection" content="telephone=no">
See also a stackoverflow question on this topic:
https://stackoverflow.com/questions/31978346/remove-microsoft-edges-phone-number-styling0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar