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: euref89no

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: "no-4",
 date: "2018-11-20"
 language: "nb",
 projection: "euref89no",
 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/no-4/geo/2018-11-20

Topojson:http://api.thenmap.net/v2/no-4/geo/2018-11-20?geo_type=topojson

SVG:http://api.thenmap.net/v2/no-4/svg/2018-11-20?svg_proj=euref89no

Data:http://api.thenmap.net/v2/no-4/data/2018-11-20?language=nb&data_props=name|capital|is_in|etc...