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.

See api.thenmap.net for a description of available datasets

Recommended projections for this dataset: sweref99tm

Size in pixels

See the sample document.

Result

Open map in new window
Download as SVG

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: "se-4",
 date: "1968-09-15"
 language: "en",
 projection: "sweref99tm",
 width:400,
 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/se-4/geo/1968-09-15

Topojson:http://api.thenmap.net/v2/se-4/geo/1968-09-15?geo_type=topojson

SVG:http://api.thenmap.net/v2/se-4/svg/1968-09-15?svg_proj=sweref99tm

Data:http://api.thenmap.net/v2/se-4/data/1968-09-15?language=en&data_props=name|capital|is_in|etc...