Interactive sandbox
Here is a preview of available datasets using thenmap.js, a simple javascript library for accessing the Thenmap API. For the full documentation, please see github.com/rotsee/thenmap-js.
Result
thenmap.js settings
Use the below code to put this map on a web page.
<div id="map"></div>
<script src="//drvkoaf101245.cloudfront.net/thenmap-2.0.0.min.js"></script>
var settings = {
dataKey: "",
dataset: "world-2",
date: "2024-12-06"
language: "en",
projection: "robinson",
width:900,
height:900
};
Thenmap.init("map", settings);
API calls
Use one these API endpoints to fetch data to produce the map above. See the API documentation for details.
Geojson:http://api.thenmap.net/v2/world-2/geo/2024-12-06
Topojson:http://api.thenmap.net/v2/world-2/geo/2024-12-06?geo_type=topojson
SVG:http://api.thenmap.net/v2/world-2/svg/2024-12-06?svg_proj=robinson
Data:http://api.thenmap.net/v2/world-2/data/2024-12-06?language=en&data_props=name|capital|is_in|etc...