LEAFLET Click Marker and wrong MouseMove

Hello
When using leaflet maps behave incorrectly.

  1. I add a maker to the map
  2. I place the mouse cursor on the marker
  3. I right-click the marker and events appear

A - MarkerMouseDown
B - MapMouseDown
C - MapMouseMove*
D - MapMouseMove*
E - MapMouseUp

Where do the events C and D: MapMouseMove come from?
How to protect against calling mouseMove without moving mouse the cursor?

Hi,

We are currently investigating this issue and will report back as soon as possible.

I have the same problem. Any good information from TMS support? it is critical to normal use
or please DEMO project, how to move a marker without jumping.

If you want to use Marker drag & drop it is recommended to use TTMSFNCLeaflet instead of TMS FNC Maps.
In TTMSFNCLeaflet, Markers have an additional Draggable boolean property to enable Leaflet JS native marker moving. Then use the OnMarkerDragEnd event to detect when a Marker moving has ended.

I use TMSFNCMAPS in it I have LEAFLET service
For this option I don't have OnMarkerDragEnd event so I can't use it

I can't use TMSFNCLEAFLET because in it I don't have possibility to display google map

This is indeed currently a limitation of the TTMSFNCMaps component because only common mapping features are supported.
Service specific mapping features are only supported in the service specific components (i.e. TTMSFNCLeaflet).
We will have to investigate if there are solutions available to make service specific features available in TTMSFNCMaps.

another problem for me is the lack of right-click support in TMSFNCLeaflet - I need my own menu complete with TEventData

The new OnMapRightClick and OnMarkerRightClick events will be available in TTMSFNCLeaflet with the next TMS FNC Maps update.

1 Like

When will the new version be available?

The OnMapRightClick and OnMarkerRightClick events have been available since the release of TMS FNC Maps v4.3.0.0 in November 2024.

This update is noted in the version history: