Show a marker with a local icon

Hi

I tried to add a markeur using my own icon into the computer, however it is not functioning (no marker appears)

     mapCarte.AddMarker(
                            Latitude,
                            Longitude,
                            'marqueur,
                           , 'C:\xxxxxx\Embarcadero\Studio\Projets\GeoRef\Pushpin_Vert.png')

Of course, this file exists ;)

If I use this syntax

                            Latitude,
                            Longitude,
                            'marqueur');

it is ok.

So the syntax I use is incorrect ?
regards
Olivier

Hi,

Can you please make sure the TTMSFNCMaps LocalFileAccess property is set to True?

Hi and thanks

No it wasn't; now it works

thanks again
olivier

Happy to help!

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