{"id":1679,"date":"2025-02-01T14:54:51","date_gmt":"2025-02-01T14:54:51","guid":{"rendered":"https:\/\/www.cartograph.eu\/v3\/?p=1679"},"modified":"2025-02-05T05:38:43","modified_gmt":"2025-02-05T05:38:43","slug":"how-to-use-maplibre-maps-in-cartograph-maps","status":"publish","type":"post","link":"https:\/\/www.cartograph.eu\/v3\/how-to-use-maplibre-maps-in-cartograph-maps\/","title":{"rendered":"How to use MapLibre maps in Cartograph Maps"},"content":{"rendered":"\n<p>Cartograph Maps <strong>3.7.3<\/strong> and newer comes with support for <a href=\"https:\/\/maplibre.org\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>MapLibre <\/strong><\/a>styles. A MapLibre style is a &#8220;container&#8221; which defines map and overlay layers, as well as their styling. Popular sources for maps using MapLibre styles are for instance <a href=\"https:\/\/www.maptiler.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MapTiler.com<\/a> and <a href=\"https:\/\/openmaptiles.org\/styles\/\" target=\"_blank\" rel=\"noreferrer noopener\">OpenMapTiles.org<\/a>. It is also possible to create customized styles using the <a href=\"https:\/\/maplibre.org\/maputnik\" target=\"_blank\" rel=\"noreferrer noopener\">Maputnik style editor<\/a>. <\/p>\n\n\n\n<p><strong>Note<\/strong>: MapLibre is not fully functional on macOS (e.g. no text rendering).<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Adding a MapLibre map<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <a href=\"https:\/\/www.cartograph.eu\/v3\/map-manager\/\" data-type=\"post\" data-id=\"709\"><strong>Map manager <\/strong><\/a>and select &#8220;<strong>Online<\/strong>&#8221; respectively &#8220;<strong>Offline<\/strong>&#8221; maps.<\/li>\n\n\n\n<li>Press the &#8220;<strong>+<\/strong>&#8221; button on the bottom right of the screen.<\/li>\n\n\n\n<li>Select &#8220;<strong>Special online maps<\/strong>&#8220;, respectively &#8220;<strong>Special offline maps<\/strong>&#8220;.<\/li>\n\n\n\n<li>Select &#8220;<strong>MapLibre<\/strong>&#8220;.<\/li>\n\n\n\n<li>Scroll down:\n<ul class=\"wp-block-list\">\n<li>For <strong>online maps <\/strong>enter the map&#8217;s address (including the API key) into the &#8220;<strong>Server url<\/strong>&#8221; field. The &#8220;API key&#8221; field is usually not required. An example server address is &#8220;https:\/\/api.maptiler.com\/maps\/streets-v2\/style.json?key=&lt;your_maptiler_key&gt;&#8221;.<\/li>\n\n\n\n<li>For <strong>offline maps <\/strong>select a local &#8220;<strong>Map file<\/strong>&#8220;, ideally located in the main app directory. The &#8220;API key&#8221; field is usually not required. The local map file has full access to the app documents. This means, if your style references local resources, then you can place them into the documents directory.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cartograph Maps 3.7.3 and newer comes with support for MapLibre styles. A MapLibre style is a &#8220;container&#8221; which defines map<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1679","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/posts\/1679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/comments?post=1679"}],"version-history":[{"count":11,"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/posts\/1679\/revisions"}],"predecessor-version":[{"id":1690,"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/posts\/1679\/revisions\/1690"}],"wp:attachment":[{"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/media?parent=1679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/categories?post=1679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cartograph.eu\/v3\/wp-json\/wp\/v2\/tags?post=1679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}