Marker size #97
-
Hi Mustafa Omar, Quick question, is there a way to set the marker size? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @Diewy Yes you can set const map = new jsVectorMap({
markerStyle: {
initial: { r: 15 }
}
}) |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks for your fast answer! Thanks |
Beta Was this translation helpful? Give feedback.
-
Looks like the image marker config doesn't receive any custom options except for However, as a workaround we can rely on CSS for now. https://codepen.io/themustafaomar/pen/ZExoBqB #jvm-markers-group image {
width: 35px;
height: 35px;
} |
Beta Was this translation helpful? Give feedback.
-
Thank you! Great project, keep it up. Consider enabling the "Sponsor" button via the GitHub settings. 😉 |
Beta Was this translation helpful? Give feedback.
Looks like the image marker config doesn't receive any custom options except for
image
url, of course gonna fix this on the next release.However, as a workaround we can rely on CSS for now.
https://codepen.io/themustafaomar/pen/ZExoBqB