Share via

How to make Azure Maps SymbolLayer display special characters

Kevin Cai 40 Reputation points
2023-08-28T16:03:10.7766667+00:00

The SymbolLayer doesn't display special characters set in textOptions. Setting the text as "кв.7" would only display ".7" on the map. I also tried encoding the string with encodeURI but it doesn't display the decoded string.

Azure Maps
Azure Maps

An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.


1 answer

Sort by: Most helpful
  1. IoTGirl 3,951 Reputation points Microsoft Employee Moderator
    2023-08-28T21:43:04.08+00:00

    Azure Maps is based on MapLibre and there is an open request at https://github.com/maplibre/maplibre-gl-js/issues/2307. Are the characters you are wishing to show outside of the supported set? "Symbol layers can only render Unicode characters in the Basic Multilingual Plane (BMP, up to U+FFFF)" If so, this behavior is by design.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.