File tree Expand file tree Collapse file tree
packages/layerchart/src/routes/docs/examples/Timezones Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 import Chart , { Svg } from ' $lib/components/Chart.svelte' ;
1919 import GeoPath from ' $lib/components/GeoPath.svelte' ;
2020 import Tooltip from ' $lib/components/Tooltip.svelte' ;
21+ import Blur from ' $lib/components/Blur.svelte' ;
2122
2223 import Preview from ' $lib/docs/Preview.svelte' ;
2324
115116 let:tooltip
116117 >
117118 <Svg >
118- <GeoPath geojson ={{ type : ' Sphere' }} class =" stroke-surface-content/30" />
119+ <GeoPath geojson ={{ type : ' Sphere' }} class =" stroke-surface-content/30" id = " globe " />
119120 <Graticule class =" stroke-surface-content/20" />
120121
121122 <GeoPath {geojson } id =" clip" />
138139 {/each }
139140
140141 {#if showDaylight }
141- <GeoCircle center ={antipode (sun )} class =" stroke-none fill-black/50 pointer-events-none" />
142+ <ClipPath useId =" globe" >
143+ <Blur >
144+ <GeoCircle
145+ center ={antipode (sun )}
146+ class =" stroke-none fill-black/50 pointer-events-none"
147+ />
148+ </Blur >
149+ </ClipPath >
142150 {/if }
143151 </Svg >
144152
You can’t perform that action at this time.
0 commit comments