You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be coming from the fact that the MarkerCluster class is its own icon. See its constructor. But Leaflet's Marker get the tooltip anchor from the option of its icon. See getter method.
There's a couple of easy fixes that we could do:
Overwrite the getter;
Merge the options of the icon with the options of MarkerCluster when calling iconCreateFunction;
Set specifically the tooltipAnchor option when calling iconCreateFunction
The text was updated successfully, but these errors were encountered:
The problem seems to be coming from the fact that the
MarkerCluster
class is its own icon. See its constructor. But Leaflet's Marker get the tooltip anchor from the option of its icon. See getter method.There's a couple of easy fixes that we could do:
MarkerCluster
when callingiconCreateFunction
;tooltipAnchor
option when callingiconCreateFunction
The text was updated successfully, but these errors were encountered: