Replies: 3 comments
-
cant figure out how to set the anchorText though, if anyone can help |
Beta Was this translation helpful? Give feedback.
0 replies
-
On the render return, try using the url setting within icon:
My generateSvgMarker:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! I customize the bookmark icon, I don't know if it's really what you were looking for. I share it in the same way, hoping it will be useful to you.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I struggled for some time but had some key findings thanks to chatgpt
you do something like this
https://stackoverflow.com/questions/71129102/how-to-specify-custom-cluster-marker-for-a-google-map
but instead of saying
new google.maps.Marker(
you writenew this.$refs.mapRef.api.Marker(
(sorry yes im using options api so convert the reffing logic composition if you need) . But of course you have to make sure you assign that ref toalternatively you can get
api
this other way (see https://vue3-google-map.com/advanced-usage/#usage-patterns) and pass it as a paramhope this helps future cluster stylers
Beta Was this translation helpful? Give feedback.
All reactions