Issue with encoding of marker and label texts in OpenLayers Maps

Hi,
i am using FNC Maps and if i include (German) special characters the encoding is broken.

var lMarkerTitle := '123 - Beispielprojekt ÄÖÜß';
TMSFNCOpenLayers1.AddMarker(lLat, lLong, lMarkerTitle, lMarkerIconData);

grafik

How do I fix this?

Hi,

I have not been able to reproduce this issue.
Can you please provide the following information so I can further investigate this?

  • The version of Delphi you are using
  • The platform you are deploying to (Windows, Android, iOS, ...)
  • The version of the platform you are deploying to
  • Full source code to reproduce the issue

Hi Bart,
please find the requested info below. As I found out reproducing the issue isolatedly. The Problem only applies to the labels, not to the marker "popups".

  • The version of Delphi you are using: 12.1 Patch.1
  • The platform you are deploying to (Windows, Android, iOS, ...): Windows 10
  • The version of the platform you are deploying to: VCL
  • Full source code to reproduce the issue: please find attached an isolated sample project.

markerEncodingTest.zip (6.2 KB)

The sample code you provided is working as expected here.

Can you please make sure you are using the latest version of TMS FNC Maps?

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.