AdvancedMarker with SVG-pin, change anchor point #3348
-
@Fabioni That transform works otherwise just fine, but, if there are markers very close to each other, the one that is just above the other blocks the lower one from being clickable. For example in this screenshot: If I go with the standard marker, it is centered like with the CSS-transform but everyone of these markers can be clicked without any problems: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey. If you are using my implementation. I added a attribute anchorAbove that does exactly this. So you should remove that or set it to false. |
Beta Was this translation helpful? Give feedback.
-
Actually it seems that |
Beta Was this translation helpful? Give feedback.
Actually it seems that
anchorAbove={false/undefined}
moves the svg down halfway. Setting it totrue
seemed to fix the problem. Thanks anyways, without your answer it would have taken me probably quite a bit longer time to figure it out :)