File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/clients/snowbox/src Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,6 @@ const createMap = (layerConf) => {
2121 . then ( ( map ) => {
2222 // @ts -expect-error | adding it intentionally for e2e testing
2323 window . mapInstance = map
24- document
25- . getElementById ( 'vuex-target-clicky' ) !
26- . addEventListener ( 'click' , ( ) => {
27- map . $store . dispatch (
28- 'plugin/gfi/setFeatureInformation' ,
29- exampleFeatureInformation
30- )
31- } )
3224 addStoreSubscriptions (
3325 [ 'plugin/zoom/zoomLevel' , 'vuex-target-zoom' ] ,
3426 [
@@ -89,3 +81,11 @@ document
8981 target [ 1 ] . innerHTML = value === 'en' ? 'German' : 'Deutsch'
9082 } )
9183 } )
84+
85+ document . getElementById ( 'vuex-target-clicky' ) ! . addEventListener ( 'click' , ( ) =>
86+ // @ts -expect-error | added for e2e testing
87+ window . mapInstance . $store . dispatch (
88+ 'plugin/gfi/setFeatureInformation' ,
89+ exampleFeatureInformation
90+ )
91+ )
You can’t perform that action at this time.
0 commit comments