mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
Merge branch 'main' into cloudflare
This commit is contained in:
commit
74bca227e3
@ -57,7 +57,6 @@ export async function Global({ countries = [] }: GlobalProps) {
|
|||||||
if (pointsWithin.features.length === 0) {
|
if (pointsWithin.features.length === 0) {
|
||||||
const centroid = turf.centroid(feature);
|
const centroid = turf.centroid(feature);
|
||||||
const [lng, lat] = centroid.geometry.coordinates;
|
const [lng, lat] = centroid.geometry.coordinates;
|
||||||
console.log(countryCode, lng, lat);
|
|
||||||
map.addPin({
|
map.addPin({
|
||||||
lat,
|
lat,
|
||||||
lng,
|
lng,
|
||||||
|
Loading…
Reference in New Issue
Block a user