Open joshharington opened 7 years ago
If nothing happens when you change the options
, try changing the key. e.g.
<gmap-polygon v-for="item in items" :key="item.id" :options="item.options" />
{
data() {
return { items: [{ id: 1, options: {...} }] }
},
methods: {
something() {
this.items[0].id++
this.items[1].options = newOptions
}
}
}
Is there a way to change the colour of the polygon and add a label?