File tree Expand file tree Collapse file tree
packages/layerchart/src/routes/docs/examples/SubmarineCablesGlobe Expand file tree Collapse file tree Original file line number Diff line number Diff line change 102102 />
103103 {/each }
104104
105- <!-- Switch to Canvas for better performance -->
106- <!-- {#each data.landingPoints.features as feature}
107- {@const [long, lat] = feature.geometry.coordinates}
108- <GeoCircle
109- center={[long, lat]}
110- radius={0.5}
111- class="fill-surface-content stroke-surface-100 stroke"
112- onpointermove={(e) => tooltip?.show(e, feature.properties)}
113- onpointerleave={(e) => tooltip?.hide()}
114- />
115- {/each} -->
116-
117105 {#each data .landingPoints .features as feature }
118106 {@const [long , lat ] = feature .geometry .coordinates }
119107 <GeoVisible {lat } {long }>
132120 <Tooltip .Root >
133121 {#snippet children ({ data })}
134122 {data .name }
135- <!-- <Tooltip.List>
136- <Tooltip.Item label="Latitude" value={data.latitude} format="decimal" />
137- <Tooltip.Item label="Longitude" value={data.longitude} format="decimal" />
138- </Tooltip.List> -->
139123 {/ snippet }
140124 </Tooltip .Root >
141125 {/ snippet }
You can’t perform that action at this time.
0 commit comments