Change GeoJSON fetch URL to 50m resolution
Updated GeoJSON data source for country boundaries.
This commit is contained in:
@@ -179,7 +179,7 @@ export default function AtlasPage(): React.ReactElement {
|
|||||||
|
|
||||||
// Load GeoJSON world data (direct GeoJSON, no conversion needed)
|
// Load GeoJSON world data (direct GeoJSON, no conversion needed)
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetch('https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_110m_admin_0_countries.geojson')
|
fetch('https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_50m_admin_0_countries.geojson')
|
||||||
.then(r => r.json())
|
.then(r => r.json())
|
||||||
.then(geo => {
|
.then(geo => {
|
||||||
// Dynamically build A2→A3 mapping from GeoJSON
|
// Dynamically build A2→A3 mapping from GeoJSON
|
||||||
|
|||||||
Reference in New Issue
Block a user