﻿{"id":13916,"date":"2025-05-23T10:00:00","date_gmt":"2025-05-23T08:00:00","guid":{"rendered":"https:\/\/www.sigterritoires.fr\/?p=13916"},"modified":"2025-05-19T23:13:14","modified_gmt":"2025-05-19T21:13:14","slug":"leaflet-responsive","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/","title":{"rendered":"Leaflet: responsive"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">At the end of the Leaflet introductory course, the final mini-project looked like the following map:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"329\" data-attachment-id=\"13898\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/leaflet-et-responsive\/carte_leaflet_sur_pc\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?fit=1678%2C862&amp;ssl=1\" data-orig-size=\"1678,862\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"carte_leaflet_sur_pc\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?fit=640%2C329&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?resize=640%2C329&#038;ssl=1\" alt=\"\" class=\"wp-image-13898\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?resize=1024%2C526&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?resize=300%2C154&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?resize=768%2C395&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?resize=1536%2C789&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?w=1678&amp;ssl=1 1678w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_pc.jpg?w=1280&amp;ssl=1 1280w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With a map displaying geojson data, a mini-map and a title. This screenshot was taken on a PC and looks fine.<\/p>\n\n\n\n\n\n\n<p class=\"wp-block-paragraph\">But what would it look like on a cell phone?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&rsquo;s the answer:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" data-attachment-id=\"13899\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/leaflet-et-responsive\/carte_leaflet_sur_mobile\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?fit=1080%2C2400&amp;ssl=1\" data-orig-size=\"1080,2400\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"carte_leaflet_sur_mobile\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?fit=461%2C1024&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?resize=461%2C1024&#038;ssl=1\" alt=\"\" class=\"wp-image-13899\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?resize=461%2C1024&amp;ssl=1 461w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?resize=135%2C300&amp;ssl=1 135w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?resize=768%2C1707&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?resize=691%2C1536&amp;ssl=1 691w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?resize=922%2C2048&amp;ssl=1 922w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?w=1080&amp;ssl=1 1080w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The rendering doesn&rsquo;t look so good!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As all page management is carried out locally, even if the map is supplied through a server that adapts pages to different screen sizes (mobile, tablet, computer), it&rsquo;s only the map frame that will be adapted, not its content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This adaptation must therefore be taken care of in the page&rsquo;s Leaflet code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are four main aspects to this:<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contenu <\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#1Make_sure_the_map_takes_up_the_entire_screen_without_overflowing\" >1.Make sure the map takes up the entire screen without overflowing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#2Make_the_header_responsive\" >2.Make the header responsive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#3Prevent_the_map_from_hiding_behind_the_header\" >3.Prevent the map from hiding behind the header<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#4Make_sure_the_map_resizes_properly\" >4.Make sure the map resizes properly<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#The_mini-map\" >The mini-map<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#Solution_1_Hide_the_MiniMap_on_small_screens_CSS_media_query\" >Solution 1: Hide the MiniMap on small screens (CSS media query)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#Solution_2_Force_MiniMap_to_fold_automatically_on_mobile_devices\" >Solution 2: Force MiniMap to fold automatically on mobile devices<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#Solution_3_Reduce_its_size_on_small_screens\" >Solution 3: Reduce its size on small screens<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#Recommendation\" >Recommendation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#Final_result\" >Final result<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1Make_sure_the_map_takes_up_the_entire_screen_without_overflowing\"><\/span>1.Make sure the map takes up the entire screen without overflowing<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>map { height: 100vh; }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">But beware, this style may hide the header on mobile. Here&rsquo;s a better approach:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Recommended solution :<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<pre class=\"wp-block-code\"><code>html, body {\n  margin: 0;\n  padding: 0;\n  height: 100%;\n}\n\n#map {\n  position: absolute;\n  top: 70px; \/* Hauteur de ton header *\/\n  bottom: 0;\n  left: 0;\n  right: 0;\n}<\/code><\/pre>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The top will need to be adjusted to the actual header height.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2Make_the_header_responsive\"><\/span>2.Make the header responsive<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add to CSS :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>header {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  gap: 10px;\n  flex-wrap: wrap;\n  position: absolute;\n  z-index: 1000;\n  top: 10px;\n  left: 50%;\n  transform: translateX(-50%);\n  background: rgba(255, 255, 255, 0.9);\n  padding: 10px 20px;\n  border-radius: 8px;\n  box-shadow: 0 2px 6px rgba(0,0,0,0.2);\n  max-width: 90%;\n}\n\n.logo {\n  height: 40px; \/* Ajustable selon ta pr\u00e9f\u00e9rence *\/\n  max-width: 100%;\n}\n\n.title-group {\n  display: flex;\n  flex-direction: column;\n}\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3Prevent_the_map_from_hiding_behind_the_header\"><\/span>3.Prevent the map from hiding behind the header<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure the header is absolute and above the map, for example (z-index: 1000), and that the map starts just below the header.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you prefer a fixed header above and the map takes up the rest of the space :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>body, html {\n&nbsp; margin: 0;\n&nbsp; padding: 0;\n&nbsp; height: 100%;\n&nbsp; display: flex;\n&nbsp; flex-direction: column;\n}\nheader {\n&nbsp; flex: 0 0 auto;\n}\n#map {\n&nbsp; flex: 1 1 auto;\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4Make_sure_the_map_resizes_properly\"><\/span>4.Make sure the map resizes properly<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add to the Leaflet script :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>window.addEventListener('resize', function () {\n&nbsp; map.invalidateSize();\n});<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_mini-map\"><\/span>The mini-map<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A common problem is that Leaflet&rsquo;s MiniMap can become awkward on small screens. Here are three complementary solutions you can implement.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Solution_1_Hide_the_MiniMap_on_small_screens_CSS_media_query\"><\/span>Solution 1: Hide the MiniMap on small screens (CSS media query)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add this CSS block to the &lt;style><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media screen and (max-width: 600px) {\n&nbsp; .leaflet-control-minimap {\n&nbsp;&nbsp;&nbsp; display: none !important;\n&nbsp; }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This completely hides the MiniMap if the screen width is less than 600 pixels (you can adjust this threshold).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Solution_2_Force_MiniMap_to_fold_automatically_on_mobile_devices\"><\/span>Solution 2: Force MiniMap to fold automatically on mobile devices<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Modify the options in the JS code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const miniMap = new L.Control.MiniMap(baseLayerMini, {\n&nbsp; toggleDisplay: true,\n&nbsp; minimized: window.innerWidth &lt; 600&nbsp; \/\/ r\u00e9duite par d\u00e9faut si petit \u00e9cran\n}).addTo(map);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This makes it minimized by default on mobile, but the user can open it.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Solution_3_Reduce_its_size_on_small_screens\"><\/span>Solution 3: Reduce its size on small screens<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you prefer to leave it visible but smaller, add this in the CSS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media screen and (max-width: 600px) {\n&nbsp; .leaflet-control-minimap {\n&nbsp;&nbsp;&nbsp; width: 100px !important;\n&nbsp;&nbsp;&nbsp; height: 100px !important;\n&nbsp; }\n&nbsp; .leaflet-control-minimap .leaflet-container {\n&nbsp;&nbsp;&nbsp; width: 100px !important;\n&nbsp;&nbsp;&nbsp; height: 100px !important;\n&nbsp; }\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Recommendation\"><\/span>Recommendation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For a smooth user experience, solution 1 (hide) or 2 (automatically fold) is often preferable on mobile, as screens are too small to display two cards effectively.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_result\"><\/span>Final result<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If the rendering on PC remains unchanged, with these modifications the rendering on mobile is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" data-attachment-id=\"13900\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/leaflet-et-responsive\/carte_leaflet_responsive_sur_mobile\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?fit=1080%2C2400&amp;ssl=1\" data-orig-size=\"1080,2400\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"carte_leaflet_responsive_sur_mobile\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?fit=461%2C1024&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?resize=461%2C1024&#038;ssl=1\" alt=\"\" class=\"wp-image-13900\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?resize=461%2C1024&amp;ssl=1 461w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?resize=135%2C300&amp;ssl=1 135w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?resize=768%2C1707&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?resize=691%2C1536&amp;ssl=1 691w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?resize=922%2C2048&amp;ssl=1 922w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_responsive_sur_mobile.jpg?w=1080&amp;ssl=1 1080w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>At the end of the Leaflet introductory course, the final mini-project looked like the following map: With a map displaying geojson data, a mini-map and a title. This screenshot was taken on a PC and looks&hellip;<\/p>\n","protected":false},"author":1,"featured_media":13899,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3015],"tags":[2945,3192],"class_list":["post-13916","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webmapping-en","tag-leaflet-en","tag-responsive-en"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Atilio Francois\"\/>\n\t<meta name=\"google-site-verification\" content=\"ByXHZUbGNn7RNv-Xk5A-ysTZrM65VLIO2RxfSJ2nIEQ\" \/>\n\t<meta name=\"keywords\" content=\"leaflet,responsive\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Blog SIG &amp; Territoires | le portail des professionnels du SIG\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Leaflet: responsive | Blog SIG &amp; Territoires\" \/>\n\t\t<meta property=\"og:description\" content=\"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-05-23T08:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-05-19T21:13:14+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/atilio.francois\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@SigTerritoires\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Leaflet: responsive | Blog SIG &amp; Territoires\" \/>\n\t\t<meta name=\"twitter:description\" content=\"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@SigTerritoires\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#article\",\"name\":\"Leaflet: responsive | Blog SIG & Territoires\",\"headline\":\"Leaflet: responsive\",\"author\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.sigterritoires.fr\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/carte_leaflet_sur_mobile.jpg?fit=1080%2C2400&ssl=1\",\"width\":1080,\"height\":2400},\"datePublished\":\"2025-05-23T10:00:00+02:00\",\"dateModified\":\"2025-05-19T23:13:14+02:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#webpage\"},\"articleSection\":\"webmapping, leaflet, responsive, English\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sigterritoires.fr\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/webmapping-en\\\/#listItem\",\"name\":\"webmapping\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/webmapping-en\\\/#listItem\",\"position\":2,\"name\":\"webmapping\",\"item\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/webmapping-en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#listItem\",\"name\":\"Leaflet: responsive\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#listItem\",\"position\":3,\"name\":\"Leaflet: responsive\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/webmapping-en\\\/#listItem\",\"name\":\"webmapping\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#person\",\"name\":\"Atilio Francois\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Atilio Francois\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/\",\"name\":\"Atilio Francois\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Atilio Francois\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#webpage\",\"url\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/\",\"name\":\"Leaflet: responsive | Blog SIG & Territoires\",\"description\":\"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.sigterritoires.fr\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/carte_leaflet_sur_mobile.jpg?fit=1080%2C2400&ssl=1\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#mainImage\",\"width\":1080,\"height\":2400},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/leaflet-responsive\\\/#mainImage\"},\"datePublished\":\"2025-05-23T10:00:00+02:00\",\"dateModified\":\"2025-05-19T23:13:14+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#website\",\"url\":\"https:\\\/\\\/www.sigterritoires.fr\\\/\",\"name\":\"Blog SIG & Territoires\",\"description\":\"le portail des professionnels du SIG\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Leaflet: responsive | Blog SIG & Territoires","description":"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.","canonical_url":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/","robots":"max-image-preview:large","keywords":"leaflet,responsive","webmasterTools":{"google-site-verification":"ByXHZUbGNn7RNv-Xk5A-ysTZrM65VLIO2RxfSJ2nIEQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#article","name":"Leaflet: responsive | Blog SIG & Territoires","headline":"Leaflet: responsive","author":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.sigterritoires.fr\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?fit=1080%2C2400&ssl=1","width":1080,"height":2400},"datePublished":"2025-05-23T10:00:00+02:00","dateModified":"2025-05-19T23:13:14+02:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#webpage"},"isPartOf":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#webpage"},"articleSection":"webmapping, leaflet, responsive, English"},{"@type":"BreadcrumbList","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr#listItem","position":1,"name":"Home","item":"https:\/\/www.sigterritoires.fr","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/webmapping-en\/#listItem","name":"webmapping"}},{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/webmapping-en\/#listItem","position":2,"name":"webmapping","item":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/webmapping-en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#listItem","name":"Leaflet: responsive"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#listItem","position":3,"name":"Leaflet: responsive","previousItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/webmapping-en\/#listItem","name":"webmapping"}}]},{"@type":"Person","@id":"https:\/\/www.sigterritoires.fr\/#person","name":"Atilio Francois","image":{"@type":"ImageObject","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g","width":96,"height":96,"caption":"Atilio Francois"}},{"@type":"Person","@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author","url":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/","name":"Atilio Francois","image":{"@type":"ImageObject","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g","width":96,"height":96,"caption":"Atilio Francois"}},{"@type":"WebPage","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#webpage","url":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/","name":"Leaflet: responsive | Blog SIG & Territoires","description":"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/www.sigterritoires.fr\/#website"},"breadcrumb":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#breadcrumblist"},"author":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?fit=1080%2C2400&ssl=1","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#mainImage","width":1080,"height":2400},"primaryImageOfPage":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/#mainImage"},"datePublished":"2025-05-23T10:00:00+02:00","dateModified":"2025-05-19T23:13:14+02:00"},{"@type":"WebSite","@id":"https:\/\/www.sigterritoires.fr\/#website","url":"https:\/\/www.sigterritoires.fr\/","name":"Blog SIG & Territoires","description":"le portail des professionnels du SIG","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/www.sigterritoires.fr\/#person"}}]},"og:locale":"fr_FR","og:site_name":"Blog SIG &amp; Territoires | le portail des professionnels du SIG","og:type":"article","og:title":"Leaflet: responsive | Blog SIG &amp; Territoires","og:description":"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.","og:url":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/","article:published_time":"2025-05-23T08:00:00+00:00","article:modified_time":"2025-05-19T21:13:14+00:00","article:publisher":"https:\/\/www.facebook.com\/atilio.francois\/","twitter:card":"summary","twitter:site":"@SigTerritoires","twitter:title":"Leaflet: responsive | Blog SIG &amp; Territoires","twitter:description":"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.","twitter:creator":"@SigTerritoires"},"aioseo_meta_data":{"post_id":"13916","title":null,"description":"To make Leaflet pages responsive, you need to modify the code of the HTML page. Here are some examples for a display adapted to mobiles, tablets and PCs.","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-05-19 20:20:02","updated":"2025-06-04 17:23:45","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sigterritoires.fr\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/webmapping-en\/\" title=\"webmapping\">webmapping<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tLeaflet: responsive\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.sigterritoires.fr"},{"label":"webmapping","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/webmapping-en\/"},{"label":"Leaflet: responsive","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/leaflet-responsive\/"}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2025\/05\/carte_leaflet_sur_mobile.jpg?fit=1080%2C2400&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-3Cs","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/13916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=13916"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/13916\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media\/13899"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=13916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=13916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=13916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}