TWebOSMaps and OnMouseDown


I would Like the Right Mouse Button on a WebOSMaps.

  TOSMaps = class(TWebosmaps)
      property OnMouseDown;
TOSmaps(map).OnMouseDown := .......................

With The new class, the right mouse button does not work.

Perhaps It's not possible ?

Thanks for your help

Take care
Best wishes

Jean Michel

I'm also trying to find the mouse right click solution on a marker.

Very best

Jean Michel


Unfortunately right mouse button click is currently not supported in TMS VCL WebOSMaps.
Can we expect it to be implemented sometime soon?

Right-click actions/functions is something that users expect to find. 

Please note that right mouse click events are not supported in the version of the OpenLayers API which TWebOSMaps is based on. As such there are currently no plans to add right mouse click events in TMS VCL WebOSMaps.

Is this functionality available in FNC Maps?

Unfortunately not. However as TMS FNC Maps is based on a newer architecture and the OpenLayers functionality is based on a newer version of the API we'll investigate if right click events can be supported in a future version.

Alternatively right click events are available in TMS VCL WebGMaps because these are provided by the Google Maps API.