File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 44 "files" : [
55 " dist"
66 ],
7- "version" : " 2.6.1 " ,
7+ "version" : " 2.6.2 " ,
88 "type" : " module" ,
99 "scripts" : {
1010 "dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const smokeLayer: L.FeatureGroup = new L.FeatureGroup();
1111const hmsSmokeVisibility = Checkbox . defineOptions ( {
1212 smoke : {
1313 label : "HMS Smoke" ,
14- model : false ,
14+ model : true ,
1515 icon : {
1616 id : "heat" ,
1717 }
@@ -23,6 +23,9 @@ export const useHMSSmoke = asyncInitializer<DisplayOptionProps<Checkbox>>(async
2323 let smokeData = [ ] ;
2424 map . createPane ( hmsSmokePane ) . style . zIndex = "601" ;
2525
26+ smokeData = await loadSmoke ( ) ;
27+ smokeLayer . addTo ( map ) ;
28+
2629 watch (
2730 ( ) => hmsSmokeVisibility . smoke . model . value ,
2831 async ( isChecked ) => {
You can’t perform that action at this time.
0 commit comments