0👍
onEachFeatureFunction() {
return (feature, layer) => {
layer.options.fillColor = this.getcolorFunction(
feature.properties.sales
?feature.properties.sales
: 0
);
layer.on("click", function (e) {
console.log(e, feature);
})
};
}
- [Vuejs]-How to do Buefy autocomplete on multiple fields
- [Vuejs]-Add Cancel Button to Form, bypassing Validation in Vue.js
Source:stackexchange.com