0👍
You add voterGroup
to your Layers Control, instead of your markers
.
Then simply do not re-assign a MarkerClusterGroup into your markers
variable (after you use clearLayers) and you should be fine.
- [Vuejs]-Vuejs router.go(-1) not showing on second time
- [Vuejs]-Problem with @import sass files in Vuej.s
Source:stackexchange.com