Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Countries borders retrieval not working #120

Open
aldotele opened this issue Mar 20, 2024 · 0 comments
Open

Countries borders retrieval not working #120

aldotele opened this issue Mar 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@aldotele
Copy link
Owner

It is likely that the external source is not available:
https://datahub.io/core/geo-countries/r/0.geojson

Points of failure:

fetch("https://datahub.io/core/geo-countries/r/0.geojson"

async function g() {
let T = [];
u.geoJsonData.features.forEach(A=>{
if (i.iso3Codes.includes(A.properties.ISO_A3)) {
const $ = ue.geoJSON(A).setStyle(l).on("click", m);
T.push($)
}
}
),
u.borderGroup = ue.layerGroup(T).addTo(u.mapInstance),
u.foundCountriesCount = i.iso3Codes.length,
u.foundCountriesFlag = !0
}

@aldotele aldotele added the bug Something isn't working label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant