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: "fi-8",
date: "2011-09-15"
language: "en",
projection: "tm35fin",
width:400,
height:700
};
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/fi-8/geo/2011-09-15
Topojson:http://api.thenmap.net/v2/fi-8/geo/2011-09-15?geo_type=topojson
SVG:http://api.thenmap.net/v2/fi-8/svg/2011-09-15?svg_proj=tm35fin
Data:http://api.thenmap.net/v2/fi-8/data/2011-09-15?language=en&data_props=name|capital|is_in|etc...