Open lafllamme opened 1 year ago
I got this initial styles:
clusterStyles: [ { textColor: '#000', url: getBase64Icon('house'), anchorText: [ 0, 0], anchorIcon: [ 0, 0 ], origin: [ 0, 0 ], backgroundPosition: '-16.5 -16.5', } ],
I apply them like this, whereas my 'url' is a base64 string of an icon
<gmap-cluster :zoomOnClick="true" :minimumClusterSize="2" :gridSize="25" :enableRetinaIcons="true" :styles="clusterStyles" >
How could I update the styles for the hovered Cluster? So I can add a @mouseover or something on the cluster component. I can't find anything regarding redrawing / repainting cluster in the documentation.
I tried to use an event handler from with a @mouseover(event) to get the current cluster hovered -
that's what I receive:
I can't find any way to identify the hovered cluster or to distinguish between all, since there is no unique identifier or so.
I got this initial styles:
I apply them like this, whereas my 'url' is a base64 string of an icon
How could I update the styles for the hovered Cluster? So I can add a @mouseover or something on the cluster component. I can't find anything regarding redrawing / repainting cluster in the documentation.