fix: correct event listeners in examples

This commit is contained in:
Braks
2021-10-20 22:39:54 +02:00
parent c3fb3cd10a
commit fede792a37
8 changed files with 57 additions and 21 deletions
+1
View File
@@ -126,6 +126,7 @@ if (!store) {
}
const init = () => {
store.$state = { ...store.$state, ...props }
store.setElements(props.elements)
store.setMinZoom(props.minZoom)
store.setMaxZoom(props.maxZoom)