diff --git a/README.md b/README.md index 897c4a7..4b99b94 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ## Natural Earth vector data, modified & simplified A modification of [topojson/world-atlas](https://github.com/topojson/world-atlas) 110m and 50m files, with various modifications intended for Visionscarto: + - fixes topology issues (border of Sudan; North Korea…) - adds a few shapes (Kuril Islands; Gaza) - better reflects the UN views (Ukraine; Western Sahara) @@ -15,12 +16,12 @@ A modification of [topojson/world-atlas](https://github.com/topojson/world-atlas Consume these files with TopoJSON: ```{javascript} -const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@0.1.0/world/110m.json").then(d => d.json()); +const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@1/world/110m.json").then(d => d.json()); const features = topojson.feature(world, world.objects.countries); ``` ```{javascript} -const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@0.1.0/world/50m.json").then(d => d.json()); +const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@1/world/50m.json").then(d => d.json()); const land = topojson.feature(world, world.objects.land); ``` @@ -28,8 +29,6 @@ const land = topojson.feature(world, world.objects.land); - - ## Credits The hard work has been done by the team diff --git a/package.json b/package.json index eef1fd0..a4f002c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "visionscarto-world-atlas", - "version": "0.1.0", + "version": "1.0.0", "description": "Derived from mbostock's world-atlas: Pre-built TopoJSON from Natural Earth.", "license": "BSD-3-Clause", "homepage": "https://github.com/Fil/visionscarto-world-atlas", @@ -11,6 +11,6 @@ ], "repository": { "type": "git", - "url": "https://github.com/Fil/visionscarto-world-atlas.git" + "url": "git+https://github.com/Fil/visionscarto-world-atlas.git" } }