set MapType to hybrid programmatically

Hi
I use TMSFNCMaps
Is it possible to set MapType to hybrid programmatically

Hi Rolf,

There are several ways, I use the following one and it works correctly.

1.- TMSFNCMaps.Options.MapTypeID := gmtHybrid;

You can also use the following:

2.- TMSFNCMaps.ExecuteJavaScriptSync('map.setMapTypeId("hybrid")');

Best regards,

Hi Silvestre
Many thanks
Option 1 is not possibe, but option 2 works great.
Many thanks
Regards Rolf

1 Like

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