{"id":6320,"date":"2022-10-01T12:08:12","date_gmt":"2022-10-01T10:08:12","guid":{"rendered":"https:\/\/test-79-1.ihpan.edu.pl\/?page_id=6320"},"modified":"2025-01-23T13:30:06","modified_gmt":"2025-01-23T12:30:06","slug":"historical-maps-index","status":"publish","type":"page","link":"https:\/\/atlasfontium.pl\/en\/historical-maps\/historical-maps-index\/","title":{"rendered":"Historical maps \u2013 index"},"content":{"rendered":"\n<p class=\"author\">IH PAN<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><\/p>\n\n\n<p><div class=\"leaflet-map WPLeafletMap\" style=\"height:450px; width:100%;\"><\/div><script>\nwindow.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];\nwindow.WPLeafletMapPlugin.push(function WPLeafletMapShortcode() {\/*<script>*\/\nvar baseUrl = atob('aHR0cHM6Ly97c30udGlsZS5vcGVuc3RyZWV0bWFwLm9yZy97en0ve3h9L3t5fS5wbmc=');\nvar base = (!baseUrl && window.MQ) ?\n    window.MQ.mapLayer() : L.tileLayer(baseUrl,\n        L.Util.extend({}, {\n            detectRetina: 0,\n        },\n        {\"subdomains\":\"abc\",\"noWrap\":false,\"maxZoom\":20}        )\n    );\n    var options = L.Util.extend({}, {\n        layers: [base],\n        attributionControl: false\n    },\n    {\"zoomControl\":true,\"scrollWheelZoom\":false,\"doubleClickZoom\":false,\"fitBounds\":true,\"minZoom\":0,\"maxZoom\":20,\"maxBounds\":null,\"attribution\":\"<a href=\\\"http:\\\/\\\/leafletjs.com\\\" title=\\\"A JS library for interactive maps\\\">Leaflet<\\\/a>; \\u00a9 <a href=\\\"http:\\\/\\\/www.openstreetmap.org\\\/copyright\\\">OpenStreetMap<\\\/a> contributors\"},\n    {});\nwindow.WPLeafletMapPlugin.createMap(options).setView([44.67,-63.61],12);window.WPLeafletMapPlugin.createScale({});});<\/script>\n<script>\nwindow.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];\nwindow.WPLeafletMapPlugin.push(function WPLeafletjsonShortcode() {\/*<script>*\/\nvar src = 'https:\/\/atlasfontium.pl\/wp-content\/uploads\/2022\/10\/ahp_woj_en.geojson';\nvar default_style = {\"color\":\"red\",\"fillColor\":\"yellow\"};\nvar rewrite_keys = {\n    stroke : 'color',\n    'stroke-width' : 'weight',\n    'stroke-opacity' : 'opacity',\n    fill : 'fillColor',\n    'fill-opacity' : 'fillOpacity',\n};\n\/\/ htmlspecialchars converts & to \"&amp;\"; maybe unnecessarily, and maybe 3x\nvar ampersandRegex = \/&(?:amp;){1,3}\/g\nvar layer = L.ajaxGeoJson(src.replace(ampersandRegex, '&'), {\n    type: 'json',\n    style : layerStyle,\n    onEachFeature : onEachFeature,\n    pointToLayer: pointToLayer\n});\nvar fitbounds = 0;\nvar circleMarker = 0;\nvar popup_text = window.WPLeafletMapPlugin.unescape(\"{mapy_opis}\");\nvar popup_property = \"\";\nvar table_view = 0;\nvar group = window.WPLeafletMapPlugin.getCurrentGroup();\nvar markerOptions = window.WPLeafletMapPlugin.getIconOptions({});\nlayer.addTo( group );\nwindow.WPLeafletMapPlugin.geojsons.push( layer );\nif (fitbounds) {\n    layer.on('ready', function () {\n        this.map.fitBounds( this.getBounds() );\n    });\n}\nfunction layerStyle (feature) {\n    var props = feature.properties || {};\n    var style = {};\n    function camelFun (_, first_letter) {\n        return first_letter.toUpperCase();\n    };\n    for (var key in props) {\n        if (key.match('-')) {\n            var camelcase = key.replace(\/-(\\w)\/, camelFun);\n            style[ camelcase ] = props[ key ];\n        }\n        \/\/ rewrite style keys from geojson.io\n        if (rewrite_keys[ key ]) {\n            style[ rewrite_keys[ key ] ] = props[ key ];\n        }\n    }\n    return L.Util.extend(style, default_style);\n}\nfunction onEachFeature (feature, layer) {\n    var props = feature.properties || {};\n    var text;\n    if (table_view) {\n        text = window.WPLeafletMapPlugin.propsToTable(props);\n    } else {\n        text = popup_property\n            ? props[ popup_property ]\n            : window.WPLeafletMapPlugin.template(\n                popup_text, \n                feature.properties\n            );\n    }\n    if (text) {\n        layer.bindPopup( text );\n    }\n}\n    function pointToLayer (feature, latlng) {\n    if (circleMarker) {\n        return L.circleMarker(latlng);\n    }\n    return L.marker(latlng, markerOptions);\n}});<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>IH PAN<\/p>\n","protected":false},"author":7,"featured_media":6316,"parent":6317,"menu_order":14,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-6320","page","type-page","status-publish","has-post-thumbnail","hentry","admin-tag-mapy-dawne-i-historyczne-en","admin-tag-old-and-historical-maps"],"acf":[],"_links":{"self":[{"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/pages\/6320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/comments?post=6320"}],"version-history":[{"count":7,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/pages\/6320\/revisions"}],"predecessor-version":[{"id":7668,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/pages\/6320\/revisions\/7668"}],"up":[{"embeddable":true,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/pages\/6317"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/media\/6316"}],"wp:attachment":[{"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/media?parent=6320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/categories?post=6320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atlasfontium.pl\/en\/wp-json\/wp\/v2\/tags?post=6320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}