forked from GuillaumeLeclerc/vue-google-maps
-
Notifications
You must be signed in to change notification settings - Fork 472
Open
Description
I need to set border-radius: 50% and set a border for my marker's custom icon.
<gmap-map ...>
<gmap-marker v-for="item in group" title="test" icon="item.icon" position=“item.position” />
</gmap-map>
<script>
export default {
data() {
return {
group: [
{ position: { ... }, icon: { url: 'A' } },
{ position: { ... }, icon: { url: 'B' } },
{ position: { ... }, icon: { url: 'C' } },
...
]
}
}
}
</script>
<style lang="less">
div[title="test"] > img {
border-radius: 50%;
border: 1px solid white;
}
</style>
I try to use 'title' to set my img style, but it works not I want. And I try to find the DOC but I find no api to support it.
Metadata
Metadata
Assignees
Labels
No labels