| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,7 +55,7 @@ | |||
| 55 | 55 | var includes = (targetScript.getAttribute('include') || '').split(','); | |
| 56 | 56 | var excludes = (targetScript.getAttribute('exclude') || '').split(','); | |
| 57 | 57 | if (!inArray(excludes, 'maplibregl')) { | |
| 58 | - inputCSS(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min..css'); | ||
| 58 | + inputCSS(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min.css'); | ||
| 59 | 59 | inputScript(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min.js'); | |
| 60 | 60 | } | |
| 61 | 61 | if (inArray(includes, 'L7')) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -306,11 +306,12 @@ describe('mapboxgl L7Layer', () => { | |||
| 306 | 306 | spyOn(l7Layer, 'show'); | |
| 307 | 307 | spyOn(l7Layer, 'hide'); | |
| 308 | 308 | spyOn(map.style, 'setLayoutProperty'); | |
| 309 | + expect(layer.animateStatus).toBeTruthy(); | ||
| 309 | 310 | ||
| 310 | 311 | map.setLayoutProperty(layer.id, 'visibility', 'hidden'); | |
| 311 | 312 | expect(l7Layer.hide).toHaveBeenCalled(); | |
| 312 | 313 | expect(map.style.setLayoutProperty).toHaveBeenCalled(); | |
| 313 | - expect(layer.animateStatus).toBeTruthy(); | ||
| 314 | + expect(layer.animateStatus).toBeFalsy(); | ||
| 314 | 315 | ||
| 315 | 316 | map.setLayoutProperty(layer.id, 'visibility', 'visible'); | |
| 316 | 317 | expect(l7Layer.show).toHaveBeenCalled(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments