Macos images on map with Delphi

Hi,

For example, you can use the following code:

var
  b64: string;
begin
  b64 := 'data:image/png;base64,' + TTMSFNCUtils.FileToBase64('C:\MyMarker.png');
  TMSFNCMapBox1.AddMarker(lat, lon, 'title', b64);
end;
1 Like