From aa5ac0dd6a9896dddefc41d897540f7b5a46f005 Mon Sep 17 00:00:00 2001 From: jean-philippe bazonnais Date: Tue, 5 Dec 2023 21:49:04 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20l'indicateur=20d'activit=C3=A9=20p?= =?UTF-8?q?our=20la=20plan=20IGN=20interactif=20et=20les=20couches=20th?= =?UTF-8?q?=C3=A9matiques=20(#26)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + mise à jour de la couche Plan IGN + héritage avec EventTarget des composants graphiques --- src/css/assets/interactivity.svg | 33 + src/css/map-buttons.css | 11 +- src/html/mapButtons.html | 2 + src/js/dom.js | 4 +- src/js/index.js | 6 + src/js/interactivity.js | 95 + src/js/layer-catalogue.js | 18 +- src/js/layer-config.js | 1 + src/js/layer-manager.js | 58 +- src/js/layer-switcher.js | 56 +- www/data/plan-ign-interactif-style.json | 4679 +++++++++++++++++++++-- 11 files changed, 4592 insertions(+), 371 deletions(-) create mode 100644 src/css/assets/interactivity.svg create mode 100644 src/js/interactivity.js diff --git a/src/css/assets/interactivity.svg b/src/css/assets/interactivity.svg new file mode 100644 index 00000000..4cf0e63a --- /dev/null +++ b/src/css/assets/interactivity.svg @@ -0,0 +1,33 @@ + + + 02.Icons/QR code + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/css/map-buttons.css b/src/css/map-buttons.css index 2d0ebcb2..55f07000 100644 --- a/src/css/map-buttons.css +++ b/src/css/map-buttons.css @@ -22,7 +22,8 @@ #layerManagerBtn, #geolocateBtn, #compassBtn, -#filterPoiBtn { +#filterPoiBtn, +#interactivityBtn { width: 40px; height: 40px; border-radius: 60px; @@ -66,6 +67,14 @@ top: calc(80px + env(safe-area-inset-top)); } +#interactivityBtn { + background-image: url("assets/interactivity.svg"); + background-color: lightgray; + position: absolute; + left: 15px; + top: calc(80px + env(safe-area-inset-top)); +} + @media (min-width: 615px), screen and (min-aspect-ratio: 1/1) and (min-width:400px) { #layerManagerBtn { bottom: calc(65px + env(safe-area-inset-bottom)); diff --git a/src/html/mapButtons.html b/src/html/mapButtons.html index be081c45..e2db1f85 100644 --- a/src/html/mapButtons.html +++ b/src/html/mapButtons.html @@ -10,3 +10,5 @@
+ +
diff --git a/src/js/dom.js b/src/js/dom.js index 1afc0977..e3a4e77b 100644 --- a/src/js/dom.js +++ b/src/js/dom.js @@ -16,6 +16,7 @@ const $compassBtn = document.getElementById("compassBtn"); const $layerManagerBtn = document.getElementById("layerManagerBtn"); const $sideBySideBtn = document.getElementById("sideBySideBtn"); const $filterPoiBtn = document.getElementById("filterPoiBtn"); +const $interactivityBtn = document.getElementById("interactivityBtn"); const $whiteScreen = document.getElementById("whiteScreen"); const $parameterScreenWindow = document.getElementById("parameterScreenWindow"); @@ -84,5 +85,6 @@ export default { $informationsText, $informationsImg, $filterPoiBtn, - $poiWindow + $poiWindow, + $interactivityBtn }; diff --git a/src/js/index.js b/src/js/index.js index a99ad3f9..0f2a18c5 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -10,6 +10,7 @@ import LayersConfig from './layer-config'; import Controls from './controls'; import RecentSearch from "./search-recent"; import MenuNavigation from './nav'; +import Interactivity from './interactivity'; // import CSS import '@maplibre/maplibre-gl-compare/dist/maplibre-gl-compare.css'; @@ -140,6 +141,11 @@ function app() { ] }); + // INFO + // Indicateur d'activité du Plan IGN interactif sur la carte + // (il doit être placé après le LayerManager afin de connaitre les couches ajoputées par défaut !) + Globals.interactivity = new Interactivity(map, {}); + // Initialisation du menu de navigation Globals.menu = new MenuNavigation(); Globals.menu.show(); diff --git a/src/js/interactivity.js b/src/js/interactivity.js new file mode 100644 index 00000000..365a687f --- /dev/null +++ b/src/js/interactivity.js @@ -0,0 +1,95 @@ +import Globals from './globals'; +import DOM from './dom'; + +/** + * Indicateur d'activité du Plan IGN interactif et des couches thématiques sur la carte + */ +class Interactivity { + + /** + * constructeur + * @param {*} map + * @param {*} options + */ + constructor(map, options) { + this.options = options || { + id: "PLAN.IGN.INTERACTIF$GEOPORTAIL:GPP:TMS" + }; + + this.map = map; + this.id = this.options.id || "PLAN.IGN.INTERACTIF$GEOPORTAIL:GPP:TMS"; // PII + + this.#listen(); + + this.pii = false; // couche PII chargée ? + this.thematic = false; // couche thematic chargée ? + this.position = false; // couche en position max ? + + return this; + } + + /** + * Ecouteurs sur : + * - gestion des ajout / suppression / position des couches + * - si zooms > 14 actif pour la couche PII + * - la couche au dessus est elle un baseLayer ? + */ + #listen() { + this.onGetLastLayer = this.onGetLastLayer.bind(this); + Globals.manager.addEventListener("addlayer", this.onGetLastLayer); + Globals.manager.addEventListener("removelayer", this.onGetLastLayer); + Globals.manager.addEventListener("movelayer", this.onGetLastLayer); + + this.map.on("zoom", (e) => { + if (this.pii && this.position && Math.round(e.target.getZoom())>14) { + this.active(); + } else { + (this.thematic && this.position) ? this.active() : this.disable(); + } + }); + } + + /** + * callback + * @param {*} e + * @private + */ + onGetLastLayer(e) { + var layer = e.detail.entries.pop(); + this.thematic = this.pii = this.position = false; + if (layer[0] === this.id) { + this.pii = true; + this.position = true; + if (Math.round(this.map.getZoom())>14) { + this.active(); + } + } else { + if (layer[1].base) { + this.disable(); + } else { + this.thematic = true; + this.position = true; + this.active(); + } + } + } + + /** + * Active l'indicateur d'activité + */ + active () { + this.actived = true; + DOM.$interactivityBtn.style["background-color"] = "white"; + } + + /** + * Desactive l'indicateur d'activité + */ + disable () { + this.actived = false; + DOM.$interactivityBtn.style["background-color"] = "lightgray"; + } + +} + +export default Interactivity; \ No newline at end of file diff --git a/src/js/layer-catalogue.js b/src/js/layer-catalogue.js index 83c231f6..d6bfcf7d 100644 --- a/src/js/layer-catalogue.js +++ b/src/js/layer-catalogue.js @@ -9,7 +9,6 @@ import ImageNotFound from '../html/img/image-not-found.png'; * Gestion des couches thématiques et fonds de carte * @fires addlayer * @fires removelayer - * @todo impl. les couches "vecteur tuilé" * @fixme impl. d'une liste de couches courante (Globals.baseLayerDisplayed) * @description * → manager @@ -30,9 +29,9 @@ import ImageNotFound from '../html/img/image-not-found.png'; * → switcher * → this.addLayer → call addContainer & addGroup & map.addLayer → fire event addLayer * → this.removeLayer → call removeContainer & removeGroup & map.removeLayer → fire event removeLayer - * → this.moveLayer → call moveContainer & moveGroup & map.moveLayer (TODO) + * → this.moveLayer → call moveContainer & moveGroup & map.moveLayer */ -class LayerCatalogue { +class LayerCatalogue extends EventTarget { /** * constructeur @@ -40,6 +39,7 @@ class LayerCatalogue { * @param {*} options.target */ constructor(options) { + super(); this.options = options || { target : null }; @@ -48,14 +48,6 @@ class LayerCatalogue { this.map = Globals.map this.mapRLT = Globals.mapRLT; - /** - * Interface pour les evenements - * @example - * event.dispatchEvent(new CustomEvent("myEvent", { detail : {} })); - * event.addEventListener("myEvent", handler); - */ - this.event = new EventTarget(); - this.#render(); this.#listeners(); } @@ -294,7 +286,7 @@ class LayerCatalogue { * @type {*} * @property {*} id - */ - this.event.dispatchEvent( + this.dispatchEvent( new CustomEvent("addlayer", { bubbles: true, detail: { @@ -327,7 +319,7 @@ class LayerCatalogue { * @type {*} * @property {*} id - */ - this.event.dispatchEvent( + this.dispatchEvent( new CustomEvent("removelayer", { bubbles: true, detail: { diff --git a/src/js/layer-config.js b/src/js/layer-config.js index a05fc940..a8b0f676 100644 --- a/src/js/layer-config.js +++ b/src/js/layer-config.js @@ -82,6 +82,7 @@ const getLayerProps = (id) => { } return { layer: props.name, + base: getBaseLayers().includes(id), // couche de fonds ou autre title: props.title, desc: props.description, type: (isVector) ? "vector" : "raster", diff --git a/src/js/layer-manager.js b/src/js/layer-manager.js index bbf1aee9..4ab91824 100644 --- a/src/js/layer-manager.js +++ b/src/js/layer-manager.js @@ -9,7 +9,9 @@ import layerConfig from './layer-config'; * - gestion des thèmatiques et fonds de carte * @see LayerSwitcher * @see LayerCatalogue - * @fixme les couches tuiles vectorielles sont en chargement async ! + * @fires addlayer + * @fires removelayer + * @fires movelayer * @description * → manager * → instancie this.catalogue & this.switcher @@ -29,10 +31,10 @@ import layerConfig from './layer-config'; * → switcher * → this.addLayer → call addContainer & addGroup & map.addLayer → fire event addLayer * → this.removeLayer → call removeContainer & removeGroup & map.removeLayer → fire event removeLayer - * → this.moveLayer → call moveContainer & moveGroup & map.moveLayer (TODO) + * → this.moveLayer → call moveContainer & moveGroup & map.moveLayer * */ -class LayerManager { +class LayerManager extends EventTarget { /** * constructeur * @param {*} options - @@ -47,6 +49,7 @@ class LayerManager { * }); */ constructor(options) { + super(); this.options = options || { /** * [{ @@ -60,6 +63,7 @@ class LayerManager { this.layerCatalogue = null; this.layerSwitcher = null; + this.#render(); this.#listeners(); this.#loadLayers(); @@ -69,19 +73,44 @@ class LayerManager { * Ecouteurs */ #listeners() { - this.layerCatalogue.event.addEventListener("addlayer", (e) => { + this.layerCatalogue.addEventListener("addlayer", (e) => { this.layerSwitcher.addLayer(e.detail.id); }); - this.layerCatalogue.event.addEventListener("removelayer", (e) => { + this.layerCatalogue.addEventListener("removelayer", (e) => { this.layerSwitcher.removeLayer(e.detail.id); }); - this.layerSwitcher.event.addEventListener("addlayer", (e) => { + this.layerSwitcher.addEventListener("addlayer", (e) => { + /** + * Evenement "addlayer" + * @event addlayer + * @type {*} + * @property {*} id - + * @property {*} options - + */ + this.dispatchEvent( + new CustomEvent("addlayer", { + bubbles: true, + detail: e.detail + }) + ); var element = document.getElementById(e.detail.id); element.classList.add('selectedLayer'); this.#updateLayersCounter(e.type); }); - this.layerSwitcher.event.addEventListener("removelayer", (e) => { + this.layerSwitcher.addEventListener("removelayer", (e) => { + /** + * Evenement "removelayer" + * @event removelayer + * @type {*} + * @property {*} id - + */ + this.dispatchEvent( + new CustomEvent("removelayer", { + bubbles: true, + detail: e.detail + }) + ); var element = document.getElementById(e.detail.id); element.classList.remove('selectedLayer'); if (e.detail.error) { @@ -89,6 +118,21 @@ class LayerManager { } this.#updateLayersCounter(e.type); }); + this.layerSwitcher.addEventListener("movelayer", (e) => { + /** + * Evenement "movelayer" + * @event movelayer + * @type {*} + * @property {*} id - + * @property {*} positions - + */ + this.dispatchEvent( + new CustomEvent("movelayer", { + bubbles: true, + detail: e.detail + }) + ); + }); } /** diff --git a/src/js/layer-switcher.js b/src/js/layer-switcher.js index 810d750b..249723c5 100644 --- a/src/js/layer-switcher.js +++ b/src/js/layer-switcher.js @@ -11,9 +11,8 @@ import ImageNotFound from '../html/img/image-not-found.png'; * Gestionnaire de couches * @fires addlayer * @fires removelayer + * @fires movelayer * @todo N&B - * @todo menu avancé sous forme d'une popup verticale - * @todo icone de visibilité à modifier * @description * → manager * → instancie this.catalogue & this.switcher @@ -35,7 +34,7 @@ import ImageNotFound from '../html/img/image-not-found.png'; * → this.removeLayer → call removeContainer & removeGroup & map.removeLayer → fire event removeLayer * → this.moveLayer → call moveContainer & moveGroup & map.moveLayer (TODO) */ -class LayerSwitcher { +class LayerSwitcher extends EventTarget { /** * constructeur @@ -43,6 +42,7 @@ class LayerSwitcher { * @param {*} options.target */ constructor(options) { + super(); this.options = options || { target : null }; @@ -69,6 +69,7 @@ class LayerSwitcher { * index : 0, * position : 0, * type: "vector", + * base: true, // base ou thematic * style: "http://.../style.json" ou [], * error : false * } @@ -76,14 +77,6 @@ class LayerSwitcher { */ this.layers = {}; - /** - * Interface pour les evenements - * @example - * event.dispatchEvent(new CustomEvent("myEvent", { detail : {} })); - * event.addEventListener("myEvent", handler); - */ - this.event = new EventTarget(); - this.#render(); } @@ -226,6 +219,27 @@ class LayerSwitcher { var beforeIdx = getIndexLayer(newPosition + direction); var beforeId = this.map.getStyle().layers[beforeIdx].id; LayersGroup.moveGroup(id, beforeId); + /** + * Evenement "movelayer" + * @event movelayer + * @type {*} + * @property {*} id - + * @property {*} positions - + */ + this.dispatchEvent( + new CustomEvent("movelayer", { + bubbles: true, + detail: { + id : id, + entries : this.#getLayersOrder(), + positions : { + new : newPosition, + old : oldPosition, + max : maxPosition + } + } + }) + ); } } @@ -605,6 +619,7 @@ class LayerSwitcher { quickLookUrl : LayersAdditional.getQuickLookUrl(id.split("$")[0]), style: props.style, type: props.type, + base: props.base, opacity : 100, gray : false, visibility : true, @@ -625,12 +640,13 @@ class LayerSwitcher { * @property {*} id - * @property {*} options - */ - this.event.dispatchEvent( + this.dispatchEvent( new CustomEvent("addlayer", { bubbles: true, detail: { id : id, - options : this.layers[id] + options : this.layers[id], + entries : this.#getLayersOrder() } }) ); @@ -661,18 +677,28 @@ class LayerSwitcher { * @event removelayer * @type {*} * @property {*} id - + * @property {*} error - */ - this.event.dispatchEvent( + this.dispatchEvent( new CustomEvent("removelayer", { bubbles: true, detail: { id : id, - error : berror + error : berror, + entries : this.#getLayersOrder() } }) ); } + #getLayersOrder() { + const entries = Object.entries(this.layers); + entries.sort((a, b) => { + return a[1].position - b[1].position; + }); + return entries; + } + } export default LayerSwitcher; \ No newline at end of file diff --git a/www/data/plan-ign-interactif-style.json b/www/data/plan-ign-interactif-style.json index 3a2e00aa..b0c09d83 100644 --- a/www/data/plan-ign-interactif-style.json +++ b/www/data/plan-ign-interactif-style.json @@ -24,7 +24,8 @@ "duration": 300, "delay": 0 }, - "layers": [{ + "layers": [ + { "id": "bckgrd", "type": "fill", "source": "plan_ign", @@ -174,8 +175,8 @@ "ZONE_PEUPLERAIE" ], "paint": { - "fill-color": "#D1FFBA", - "fill-outline-color": "#D1FFBA" + "fill-color": "#DFE8D5", + "fill-outline-color": "#DFE8D5" } }, { @@ -190,8 +191,8 @@ "ZONE_FORET_OUVERTE" ], "paint": { - "fill-color": "#D1FFBA", - "fill-outline-color": "#D1FFBA" + "fill-color": "#EDF2D9", + "fill-outline-color": "#EDF2D9" } }, { @@ -204,7 +205,7 @@ }, "filter": ["==", "symbo", "ZONE_LANDE_LIGNEUSE"], "paint": { - "fill-color": "#E0FFD1" + "fill-color": "#F2EECD" } }, { @@ -217,7 +218,7 @@ }, "filter": ["==", "symbo", "ZONE_VIGNE"], "paint": { - "fill-color": "#F4D5B3" + "fill-color": "#FFEDD9" } }, { @@ -230,7 +231,7 @@ }, "filter": ["==", "symbo", "ZONE_VERGER"], "paint": { - "fill-color": "#F4C795" + "fill-color": "#FAE2C5" } }, { @@ -256,8 +257,8 @@ }, "filter": ["==", "symbo", "ZONE_D_ESTRAN"], "paint": { - "fill-color": "#D3E9FF", - "fill-outline-color": "#D3E9FF" + "fill-color": "#C3DDE9", + "fill-outline-color": "#C3DDE9" } }, { @@ -430,7 +431,7 @@ }, "filter": ["==", "symbo", "ZONE_BATI"], "paint": { - "fill-color": "#ADADAD", + "fill-color": "#E8E2D1", "fill-opacity": { "stops": [ [12, 1], @@ -450,7 +451,7 @@ }, "filter": ["==", "symbo", "ZONE_INDUS_ACTI"], "paint": { - "fill-color": "#CBCBCB" + "fill-color": "#D9D9D9" } }, { @@ -858,8 +859,8 @@ "ZONE_MARINE" ], "paint": { - "fill-color": "#B3D9FF", - "fill-outline-color": "#B3D9FF" + "fill-color": "#AAD5E9", + "fill-outline-color": "#AAD5E9" } }, { @@ -872,7 +873,7 @@ }, "filter": ["==", "symbo", "SURFACE_D_EAU_TEMP"], "paint": { - "fill-color": "rgba(164, 198, 233, 0.5)" + "fill-color": "rgba(168, 203, 220, 0.5)" } }, { @@ -891,7 +892,7 @@ "COURS_D_EAU_MOY_SOU" ], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.5], @@ -915,7 +916,7 @@ }, "filter": ["==", "symbo", "AQUEDUC_SOU"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.4], @@ -939,7 +940,7 @@ }, "filter": ["==", "symbo", "AQUEDUC_SOU"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 3.5], @@ -974,7 +975,7 @@ "VF_FERRO_ROUTIER_SOU" ], "paint": { - "line-color": "#838383", + "line-color": "#B4B4B4", "line-width": { "stops": [ [10, 0.8], @@ -1007,7 +1008,7 @@ "VF_FERRO_ROUTIER_SOU" ], "paint": { - "line-color": "#838383", + "line-color": "#B4B4B4", "line-width": { "stops": [ [10, 3.5], @@ -1035,7 +1036,7 @@ "VF_ETROITE_SOU" ], "paint": { - "line-color": "#838383", + "line-color": "#B4B4B4", "line-width": { "stops": [ [10, 0.3], @@ -1062,7 +1063,7 @@ "VF_ETROITE_SOU" ], "paint": { - "line-color": "#838383", + "line-color": "#B4B4B4", "line-width": { "stops": [ [10, 3.5], @@ -1089,7 +1090,7 @@ "VF_NON_EXPLOITEE_SOU" ], "paint": { - "line-color": "#838383", + "line-color": "#B4B4B4", "line-width": { "stops": [ [10, 0.3], @@ -1115,7 +1116,7 @@ "TRANSPORT_URBAIN_SOU" ], "paint": { - "line-color": "#838383", + "line-color": "#B4B4B4", "line-width": { "stops": [ [10, 0.3], @@ -1140,7 +1141,7 @@ "TRANSPORT_URBAIN_SOU" ], "paint": { - "line-color": "#838383", + "line-color": "#B4B4B4", "line-width": { "stops": [ [10, 3.5], @@ -1190,7 +1191,7 @@ }, "filter": ["==", "symbo", "ESCALIER_SOU"], "paint": { - "line-color": "#717171", + "line-color": "#B3989A", "line-width": { "stops": [ [14, 1.75], @@ -1241,7 +1242,7 @@ }, "filter": ["==", "symbo", "RUE_PIETONNE_SOU"], "paint": { - "line-color": "#717171", + "line-color": "#B3989A", "line-width": { "stops": [ [14, 1], @@ -1267,7 +1268,7 @@ }, "filter": ["==", "symbo", "SENTIER_SOU"], "paint": { - "line-color": "#717171", + "line-color": "#B3989A", "line-width": { "stops": [ [14, 1], @@ -1293,7 +1294,7 @@ }, "filter": ["==", "symbo", "CHEMIN_SOU"], "paint": { - "line-color": "#717171", + "line-color": "#B3989A", "line-width": { "stops": [ [14, 1], @@ -1350,7 +1351,7 @@ "BRET_AUTO_LIBRE_1_SOU" ], "paint": { - "line-color": "rgba(255, 0, 51, 0.5)", + "line-color": "rgba(222, 70, 14, 0.5)", "line-width": { "stops": [ [12, 2.5], @@ -1549,7 +1550,7 @@ "PRINCIPALE_1_SOU" ], "paint": { - "line-color": "rgba(255, 0, 51, 0.5)", + "line-color": "rgba(222, 70, 14, 0.5)", "line-width": { "stops": [ [6, 1.8], @@ -1606,7 +1607,7 @@ "AUTOROU_LIBRE_SOU" ], "paint": { - "line-color": "rgba(255, 0, 51, 0.5)", + "line-color": "rgba(222, 70, 14, 0.5)", "line-width": { "stops": [ [6, 2.5], @@ -1716,7 +1717,7 @@ }, "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SOU"], "paint": { - "line-color": "#FFFFFF", + "line-color": "#F2F5FF", "line-width": { "stops": [ [14, 2.3], @@ -1802,8 +1803,8 @@ "line-color": { "stops": [ [12, "#FFFFFF"], - [13, "#FFA35D"], - [17, "#FFAD6F"] + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { @@ -1868,8 +1869,8 @@ "line-color": { "stops": [ [9, "#FFFFFF"], - [10, "#FF994C"], - [17, "#FFAD6F"] + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-width": { @@ -1935,8 +1936,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-width": { @@ -2028,8 +2029,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF476C"], - [17, "#FF476C"] + [9, "#F2BA59"], + [17, "#F2C261"] ] }, "line-width": { @@ -2084,7 +2085,7 @@ }, "filter": ["in", "symbo", "COURS_D_EAU_TEMP", "COURS_D_EAU_TEMP_MOY"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.5], @@ -2107,7 +2108,7 @@ }, "filter": ["==", "symbo", "COURS_D_EAU"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [4, 0.3], @@ -2130,7 +2131,7 @@ }, "filter": ["==", "symbo", "CANAL"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.4], @@ -2152,7 +2153,7 @@ }, "filter": ["==", "symbo", "AQUEDUC_AU_SOL"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.4], @@ -2175,7 +2176,7 @@ }, "filter": ["==", "symbo", "AQUEDUC_AU_SOL"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 3.5], @@ -2198,7 +2199,7 @@ }, "filter": ["==", "symbo", "COURS_D_EAU_MOY"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [7, 2], @@ -2219,7 +2220,7 @@ }, "filter": ["==", "symbo", "COURS_D_EAU_LAR"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [7, 3], @@ -2292,7 +2293,7 @@ "MAIRIE_ANNEXE" ], "paint": { - "fill-color": "#FF0032" + "fill-color": "#FFA6A6" } }, { @@ -2311,11 +2312,11 @@ "paint": { "fill-color": { "stops": [ - [14, "#FF0032"], - [15, "#C80032"] + [14, "#FFA6A6"], + [15, "#FFAEAE"] ] }, - "fill-outline-color": "#000000" + "fill-outline-color": "#FF7C7C" } }, { @@ -2335,7 +2336,7 @@ "HANGAR_INDUSTRIEL" ], "paint": { - "fill-color": "#757575" + "fill-color": "#C8C8C8" } }, { @@ -2357,11 +2358,11 @@ "paint": { "fill-color": { "stops": [ - [15, "#818181"], - [16, "#8E8E8E"] + [15, "#D1D1D1"], + [16, "#E6E6E6"] ] }, - "fill-outline-color": "#000000" + "fill-outline-color": "#B8B8B8" } }, { @@ -2378,7 +2379,7 @@ "HANGAR_PUBLIC" ], "paint": { - "fill-color": "#6C6C8C" + "fill-color": "#B9B6D6" } }, { @@ -2397,11 +2398,11 @@ "paint": { "fill-color": { "stops": [ - [15, "#66668C"], - [16, "#63638C"] + [15, "#CFC5DE"], + [16, "#E4DAF3"] ] }, - "fill-outline-color": "#000000" + "fill-outline-color": "#A6A1D6" } }, { @@ -2417,7 +2418,7 @@ }, "filter": ["==", "symbo", "BATI_SPORTIF"], "paint": { - "line-color": "#758275", + "line-color": "#BCD9AB", "line-width": 4 } }, @@ -2434,8 +2435,8 @@ "paint": { "fill-color": { "stops": [ - [14, "#92A292"], - [15, "#92A292"] + [14, "#C9E1DD"], + [15, "#DCE6E4"] ] } } @@ -2451,7 +2452,7 @@ }, "filter": ["==", "symbo", "BATI_GARE"], "paint": { - "fill-color": "#9C9EC3" + "fill-color": "#B3B5F5" } }, { @@ -2467,11 +2468,11 @@ "paint": { "fill-color": { "stops": [ - [15, "#9C9EC3"], - [16, "#9C9EC3"] + [15, "#BFC1F5"], + [16, "#CBCDF5"] ] }, - "fill-outline-color": "#635D7A" + "fill-outline-color": "#9B9EF6" } }, { @@ -2486,7 +2487,7 @@ }, "filter": ["==", "symbo", "BATI_QQUE"], "paint": { - "fill-color": "#323232" + "fill-color": "#D6C6B8" } }, { @@ -2502,11 +2503,11 @@ "paint": { "fill-color": { "stops": [ - [15, "#404040"], - [16, "#4C4C4C"] + [15, "#E6E0CF"], + [16, "#F1EBD9"] ] }, - "fill-outline-color": "#000000" + "fill-outline-color": "#C3AA8E" } }, { @@ -2564,7 +2565,7 @@ }, "filter": ["==", "symbo", "CHATEAU_EAU_SURF"], "paint": { - "fill-color": "#0081FF" + "fill-color": "#1466B2" } }, { @@ -2666,7 +2667,7 @@ "RELIGIEUX_QQUE" ], "paint": { - "fill-color": "#967575" + "fill-color": "#F7CBCB" } }, { @@ -2690,14 +2691,14 @@ "paint": { "fill-color": { "stops": [ - [14, "#967575"], - [15, "#A27E7E"] + [14, "#F7CBCB"], + [15, "#F7E1E1"] ] }, "fill-outline-color": { "stops": [ - [14, "#000000"], - [15, "#000000"] + [14, "#F7A8A8"], + [15, "#F7B7B7"] ] } } @@ -2764,7 +2765,7 @@ "NATATION_SURF" ], "paint": { - "line-color": "#758275", + "line-color": "#BCD9AB", "line-width": 2 } }, @@ -3007,7 +3008,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#C8C8C8"] ] }, @@ -3061,7 +3062,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#F8E5D5"] ] }, @@ -3092,7 +3093,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#FFFFFF"] ] }, @@ -3123,7 +3124,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#FFFFFF"] ] }, @@ -3214,8 +3215,8 @@ "paint": { "line-color": { "stops": [ - [9, "#000000"], - [17, "#000000"], + [9, "#DE460E"], + [17, "#F18800"], [18, "#FFFFFF"] ] }, @@ -3440,7 +3441,7 @@ "paint": { "line-color": { "stops": [ - [17, "#000000"], + [17, "#E2A52A"], [18, "#FFFFFF"] ] }, @@ -3501,8 +3502,8 @@ "paint": { "line-color": { "stops": [ - [9, "#000000"], - [17, "#000000"], + [9, "#DE460E"], + [17, "#F18800"], [18, "#FFFFFF"] ] }, @@ -3568,8 +3569,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-width": { @@ -3596,7 +3597,7 @@ }, "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT"], "paint": { - "line-color": "#FFFFFF", + "line-color": "#EDF1FF", "line-width": { "stops": [ [14, 2.3], @@ -3658,8 +3659,8 @@ [6, "#F2B361"], [7, "#FFFFFF"], [12, "#FFFFFF"], - [13, "#FFA35D"], - [17, "#FFAD6F"] + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { @@ -3689,8 +3690,8 @@ "line-color": { "stops": [ [12, "#FFFFFF"], - [13, "#FFA35D"], - [17, "#FFAD6F"], + [13, "#FCF4A8"], + [17, "#FCF7C1"], [18, "#EDEDED"] ] }, @@ -3730,8 +3731,8 @@ [6, "#F2A949"], [7, "#FFFFFF"], [9, "#FFFFFF"], - [10, "#FF994C"], - [17, "#FFAD6F"] + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-width": { @@ -3763,8 +3764,8 @@ "line-color": { "stops": [ [9, "#FFFFFF"], - [10, "#FF994C"], - [17, "#FFAD6F"], + [10, "#FDF28B"], + [17, "#FCF6BD"], [18, "#EDEDED"] ] }, @@ -3804,9 +3805,9 @@ "line-color": { "stops": [ [6, "#F29924"], - [7, "#FF0033"], - [9, "#FF0033"], - [17, "#FF476C"] + [7, "#F3C66D"], + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-width": { @@ -3837,8 +3838,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"], + [9, "#F3C66D"], + [17, "#F2DDB3"], [18, "#EDEDED"] ] }, @@ -3874,8 +3875,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-width": { @@ -3935,8 +3936,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"], + [9, "#F18800"], + [17, "#F2B230"], [18, "#EDEDED"] ] }, @@ -4002,7 +4003,7 @@ "VF_ELEC_4" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.8], @@ -4033,7 +4034,7 @@ "VF_ELEC_4" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -4060,7 +4061,7 @@ "VF_ETROITE" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -4086,7 +4087,7 @@ "VF_ETROITE" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -4112,7 +4113,7 @@ "VF_NON_EXPLOITEE" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -4136,7 +4137,7 @@ }, "filter": ["==", "symbo", "VF_EN_CONSTR"], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -4160,7 +4161,7 @@ }, "filter": ["==", "symbo", "VF_EN_CONSTR"], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -4185,7 +4186,7 @@ "TRANSPORT_URBAIN" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -4209,7 +4210,7 @@ "TRANSPORT_URBAIN" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -4427,7 +4428,7 @@ "filter": ["==", "symbo", "SURF_PEAGE"], "paint": { "fill-color": "#F2DAAA", - "fill-outline-color": "#000000" + "fill-outline-color": "#E2A52A" } }, { @@ -4461,7 +4462,7 @@ "COURS_D_EAU_MOY_SUP" ], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.5], @@ -4482,7 +4483,7 @@ }, "filter": ["==", "symbo", "CANAL_SUP"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.4], @@ -4503,7 +4504,7 @@ }, "filter": ["==", "symbo", "AQUEDUC_SUP"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 1.4], @@ -4525,7 +4526,7 @@ }, "filter": ["==", "symbo", "AQUEDUC_SUP"], "paint": { - "line-color": "#B3D9FF", + "line-color": "#AAD5E9", "line-width": { "stops": [ [12, 3.5], @@ -4582,7 +4583,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#C8C8C8"] ] }, @@ -4636,7 +4637,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#EBEBEB"] ] }, @@ -4667,7 +4668,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#FFFFFF"] ] }, @@ -4698,7 +4699,7 @@ "paint": { "line-color": { "stops": [ - [17, "#555555"], + [17, "#8C7274"], [18, "#FFFFFF"] ] }, @@ -4765,8 +4766,8 @@ "paint": { "line-color": { "stops": [ - [9, "#000000"], - [17, "#000000"], + [9, "#DE460E"], + [17, "#F18800"], [18, "#FFFFFF"] ] }, @@ -4990,7 +4991,7 @@ "paint": { "line-color": { "stops": [ - [17, "#000000"], + [17, "#E2A52A"], [18, "#FFFFFF"] ] }, @@ -5051,8 +5052,8 @@ "paint": { "line-color": { "stops": [ - [9, "#000000"], - [17, "#000000"], + [9, "#DE460E"], + [17, "#F18800"], [18, "#FFFFFF"] ] }, @@ -5142,8 +5143,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-width": { @@ -5170,7 +5171,7 @@ }, "filter": ["==", "symbo", "NON_CLASSEE_RESTREINT_SUP"], "paint": { - "line-color": "#FFFFFF", + "line-color": "#EDF1FF", "line-width": { "stops": [ [14, 2.3], @@ -5230,8 +5231,8 @@ "line-color": { "stops": [ [12, "#FFFFFF"], - [13, "#FFA35D"], - [17, "#FFAD6F"] + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { @@ -5262,8 +5263,8 @@ "line-color": { "stops": [ [12, "#FFFFFF"], - [13, "#FFA35D"], - [17, "#FFAD6F"] + [13, "#FCF4A8"], + [17, "#FCF7C1"] ] }, "line-width": { @@ -5300,8 +5301,8 @@ "line-color": { "stops": [ [9, "#FFFFFF"], - [10, "#FF994C"], - [17, "#FFAD6F"] + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-width": { @@ -5333,8 +5334,8 @@ "line-color": { "stops": [ [9, "#FFFFFF"], - [10, "#FF994C"], - [17, "#FFAD6F"] + [10, "#FDF28B"], + [17, "#FCF6BD"] ] }, "line-width": { @@ -5371,8 +5372,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-width": { @@ -5404,8 +5405,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F3C66D"], + [17, "#F2DDB3"] ] }, "line-width": { @@ -5439,8 +5440,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-width": { @@ -5501,8 +5502,8 @@ "paint": { "line-color": { "stops": [ - [9, "#FF0033"], - [17, "#FF476C"] + [9, "#F18800"], + [17, "#F2B230"] ] }, "line-width": { @@ -5567,7 +5568,7 @@ "VF_ELEC_4_SUP" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.8], @@ -5598,7 +5599,7 @@ "VF_ELEC_4_SUP" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -5625,7 +5626,7 @@ "VF_ETROITE_SUP" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -5651,7 +5652,7 @@ "VF_ETROITE_SUP" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -5677,7 +5678,7 @@ "VF_NON_EXPLOITEE_SUP" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -5701,7 +5702,7 @@ }, "filter": ["==", "symbo", "VF_EN_CONSTR_SUP"], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -5725,7 +5726,7 @@ }, "filter": ["==", "symbo", "VF_EN_CONSTR_SUP"], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -5750,7 +5751,7 @@ "TRANSPORT_URBAIN_SUP" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 0.3], @@ -5774,7 +5775,7 @@ "TRANSPORT_URBAIN_SUP" ], "paint": { - "line-color": "#505050", + "line-color": "#787878", "line-width": { "stops": [ [10, 3.5], @@ -5820,7 +5821,7 @@ }, "filter": ["==", "symbo", "LAYON"], "paint": { - "line-color": "#717171", + "line-color": "#B3989A", "line-width": { "stops": [ [14, 1], @@ -6125,7 +6126,9 @@ "filter": ["==", "txt_typo", "ADRESSE"], "layout": { "symbol-placement": "point", - "text-field": ["concat", "{numero}", "{indice_de_repetition}"], + "text-field": ["concat", ["get", "numero"], + ["get", "indice_de_repetition"] + ], "text-size": 11, "text-anchor": "center", "text-keep-upright": true, @@ -6471,207 +6474,4224 @@ [12, 6.5] ] }, - "circle-color": "#FF6D8A", + "circle-color": "#E2A52A", "circle-stroke-width": 1, "circle-stroke-color": "#808080" } }, { - "id": "administratif_ou_militaire", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", - "minzoom": 14, - "paint": { - "fill-pattern": "administratif_ou_militaire" + "id": "routier ponctuel - barriere", + "type": "symbol", + "source": "plan_ign", + "source-layer": "routier_ponc", + "minzoom": 12, + "layout": { + "visibility": "visible", + "icon-image": "Barriere", + "icon-size": { + "stops": [ + [13, 0.25], + [16, 0.45], + [17, 0.7] + ] + }, + "icon-allow-overlap": true, + "icon-rotate": ["get", "rotation"] }, - "filter": [ - "all", - [ - "==", - "categorie", - "Administratif ou militaire" - ] - ] - }, - { - "id": "culture_et_loisirs", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", - "minzoom": 14, + "filter": ["==", "symbo", "BARRIERE"], "paint": { - "fill-pattern": "culture_et_loisirs" - }, - "filter": [ - "all", - [ - "==", - "categorie", - "Culture et loisirs" - ] - ] + "icon-color": "#969696" + } }, { - "id": "gestion_des_eaux", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", - "minzoom": 14, - "paint": { - "fill-pattern": "gestion_des_eaux" + "id": "hydro ponctuel", + "type": "circle", + "source": "plan_ign", + "source-layer": "hydro_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible" }, - "filter": [ - "all", - [ - "==", - "categorie", - "Gestion des eaux" - ] - ] - }, - { - "id": "industriel_et_commercial", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", - "minzoom": 14, + "filter": ["in", "symbo", + "FONTAINE", + "POINT_D_EAU", + "SOURCE", + "SOURCE_CAPTEE", + "PERTE", + "RESURGENCE", + "CASCADE", + "AUTRE_HYDRO_PONC" + ], "paint": { - "fill-pattern": "industriel_et_commercial" - }, - "filter": [ - "all", - [ - "==", - "categorie", - "Industriel et commercial" - ] - ] + "circle-radius": { + "stops": [ + [14, 3], + [17, 7] + ] + }, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [14, 2], + [17, 5] + ] + }, + "circle-stroke-color": "#1466B2" + } }, { - "id": "religieux", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", - "minzoom": 14, - "paint": { - "fill-pattern": "religieux" + "id": "point coté", + "type": "symbol", + "source": "plan_ign", + "source-layer": "oro_ponc", + "minzoom": 11, + "maxzoom": 16, + "filter": ["in", "symbo", + "POINT_COTE", + "POINT_COTE_TOPO", + "POINT_COTE_RESEAU", + "POINT_RBF" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.1, + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.2, 0.4], + "text-padding": 2, + "text-font": ["Source Sans Pro Italic"] }, - "filter": [ - "all", - [ - "==", - "categorie", - "Religieux" - ] - ] - }, - { - "id": "sante", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", - "minzoom": 14, "paint": { - "fill-pattern": "sante" - }, - "filter": [ - "all", - [ - "==", - "categorie", - "Santé" - ] - ] + "text-color": "#505050" + } }, { - "id": "science_et_enseignement", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", - "minzoom": 14, - "paint": { - "fill-pattern": "science_et_enseignement" + "id": "bati ponctuel : Hopital", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Hopital", + "icon-size": 0.33 }, - "filter": [ - "all", - [ - "==", - "categorie", - "Science et enseignement" - ] - ] + "filter": ["==", "symbo", "HOPITAL_PONC"], + "paint": { + "icon-color": "#646464" + } }, { - "id": "sport", - "type": "fill", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", + "id": "bati ponctuel hydrographique", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", "minzoom": 14, - "paint": { - "fill-pattern": "sport" + "layout": { + "visibility": "visible", + "icon-image": "Pompage", + "icon-size": { + "stops": [ + [13, 0.2], + [17, 0.6] + ] + }, + "icon-allow-overlap": true }, - "filter": [ - "all", - [ - "==", - "categorie", - "Sport" - ] - ] - }, - { - "id": "zone_d_activite_ou_d_interet", - "type": "line", - "source": "bdtopo", - "source-layer": "zone_d_activite_ou_d_interet", + "filter": ["in", "symbo", + "CITERNE", + "LAVOIR", + "STATION_EPURATION", + "STATION_DE_POMPAGE", + "USINE_PRODUCTION_EAU", + "USINE_ELEVATRICE" + ], "paint": { - "line-width": 0.75 + "icon-color": "#1C62A6" } }, { - "id": "surface_hydrographique_surf", - "type": "fill", - "source": "bdtopo", - "source-layer": "surface_hydrographique", + "id": "bati ponctuel hydrographique - Puits-Abreuvoir", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible" + }, + "filter": ["in", "symbo", + "PUITS", + "ABREUVOIR" + ], "paint": { - "fill-color": "transparent" + "circle-radius": { + "stops": [ + [14, 3], + [17, 7] + ] + }, + "circle-color": "#FFFFFF", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [14, 2], + [17, 5] + ] + }, + "circle-stroke-color": "#1466B2" } }, { - "id": "surface_hydrographique_limites", - "type": "line", - "source": "bdtopo", - "source-layer": "surface_hydrographique", - "paint": { - "line-color": "transparent" + "id": "bati ponctuel hydrographique - Phare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Phare", + "icon-size": { + "stops": [ + [13, 0.7], + [17, 1.3] + ] + } }, - "minzoom": 13 - }, - { - "id": "troncon_hydrographique", - "type": "line", - "source": "bdtopo", - "source-layer": "troncon_hydrographique", + "filter": ["==", "symbo", "PHARE"], "paint": { - "line-color": "transparent" - }, - "minzoom": 13 + "icon-color": "#646464" + } }, { - "id": "cours_d_eau", - "type": "line", - "source": "bdtopo", - "source-layer": "cours_d_eau", - "paint": { - "line-color": "transparent", - "line-dasharray": [6, 2], - "line-width": 1.5 - }, + "id": "bati ponctuel hydrographique - Amer-Feu", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", "minzoom": 13, "layout": { - "visibility": "visible" - } + "visibility": "visible", + "icon-image": "Feu", + "icon-size": { + "stops": [ + [13, 0.7], + [17, 1.3] + ] + } + }, + "filter": ["in", "symbo", + "AMER", + "FEU", + "FEU_PONC", + "TOURELLE_LUMINEUSE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Balise", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 13, + "layout": { + "visibility": "visible", + "icon-image": "Balise", + "icon-size": { + "stops": [ + [13, 0.7], + [17, 1.3] + ] + } + }, + "filter": ["in", "symbo", + "BALISE", + "TOURELLE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel hydrographique - Ecluse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Ecluse", + "icon-size": 0.2 + }, + "filter": ["==", "symbo", "ECLUSE_PONC"], + "paint": { + "icon-color": "#1C62A6" + } + }, + { + "id": "bati ponctuel hydrographique - Barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 12, + "maxzoom": 14, + "layout": { + "visibility": "visible", + "icon-image": "Barrage", + "icon-size": 0.25 + }, + "filter": ["==", "symbo", "BARRAGE_PONC"], + "paint": { + "icon-color": "#1C62A6" + } + }, + { + "id": "bati ponctuel hydrographique - Chateau d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==", "symbo", "CHATEAU_EAU_PONC"], + "paint": { + "circle-radius": { + "stops": [ + [14, 3], + [17, 8] + ] + }, + "circle-color": "#1466B2" + } + }, + { + "id": "bati ponctuel hydrographique - Réservoir d'eau", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible" + }, + "filter": ["==", "symbo", "RESERVOIR_EAU_PONC"], + "paint": { + "circle-radius": { + "stops": [ + [14, 3], + [17, 8] + ] + }, + "circle-color": "#AAD5E9", + "circle-opacity": 1, + "circle-stroke-width": { + "stops": [ + [14, 1], + [17, 2.5] + ] + }, + "circle-stroke-color": "#1466B2" + } + }, + { + "id": "bati ponctuel infrastructure - Constr spé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "ConstrSpeciale", + "icon-size": { + "stops": [ + [13, 0.22], + [17, 0.5] + ] + } + }, + "filter": ["in", "symbo", + "ANTENNE", + "CONSTR_SPE_TECHNIQUE", + "CONSTR_INDIF_PONC", + "CHEMINEE", + "CHEVALEMENT", + "PUITS_GAZ", + "PUITS_PETROLE", + "PYLONE_METEO", + "TORCHERE", + "TOUR_GUET", + "TOUR_HERTZIENNE" + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Silo", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Silo", + "icon-size": { + "stops": [ + [13, 0.22], + [17, 0.5] + ] + } + }, + "filter": ["==", "symbo", "SILO_PONC"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Eolienne", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Eolienne", + "icon-size": { + "stops": [ + [13, 0.4], + [17, 1], + [18, 0.8] + ] + } + }, + "filter": ["==", "symbo", "EOLIENNE"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - Reservoir", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "maxzoom": 15, + "layout": { + "visibility": "visible", + "icon-image": "Reservoir", + "icon-size": { + "stops": [ + [13, 0.26], + [17, 0.5] + ] + } + }, + "filter": ["==", "symbo", "RESERVOIR_PONC"], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel infrastructure - pylone électrique", + "type": "circle", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible" + }, + "filter": ["==", "symbo", "PYLONE_ELEC"], + "paint": { + "circle-radius": { + "stops": [ + [13, 1], + [17, 2] + ] + }, + "circle-color": "#000000" + } + }, + { + "id": "bati ponctuel montagne - Abri", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Abri", + "icon-size": { + "stops": [ + [13, 0.4], + [15, 0.6], + [17, 0.9] + ] + } + }, + "filter": ["==", "symbo", "ABRI"], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel montagne - Refuge Garde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Refugegard", + "icon-size": { + "stops": [ + [13, 0.4], + [15, 0.6], + [17, 0.9] + ] + } + }, + "filter": ["==", "symbo", "REFUGE_GARDE"], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel montagne - Refuge Non Garde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Refugenongard", + "icon-size": { + "stops": [ + [13, 0.4], + [15, 0.6], + [17, 0.9] + ] + } + }, + "filter": ["==", "symbo", "REFUGE"], + "paint": { + "icon-color": "#246138" + } + }, + { + "id": "bati ponctuel transport aerien - Aeroport FXX", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aeroport", + "icon-size": 0.5 + }, + "filter": ["all", + ["==", "symbo", "AEROPORT_PONC"], + ["==", "territoire", "FXX"] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aerodrome FXX", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Aerodrome", + "icon-size": 0.4 + }, + "filter": ["all", + ["in", "symbo", + "AERODROME_PONC", + "AERODROME_IMPORT_PONC" + ], + ["==", "territoire", "FXX"] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aeroport DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible", + "icon-image": "Aeroport", + "icon-size": 0.5 + }, + "filter": ["all", + ["==", "symbo", "AEROPORT_PONC"], + ["!=", "territoire", "FXX"] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport aerien - Aerodrome DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "minzoom": 8, + "layout": { + "visibility": "visible", + "icon-image": "Aerodrome", + "icon-size": 0.4 + }, + "filter": ["all", + ["==", "symbo", "AERODROME_PONC"], + ["!=", "territoire", "FXX"] + ], + "paint": { + "icon-color": "#646464" + } + }, + { + "id": "bati ponctuel transport ferroviaire", + "type": "symbol", + "source": "plan_ign", + "source-layer": "bati_ponc", + "layout": { + "visibility": "visible", + "icon-image": "Gare", + "icon-size": 0.33 + }, + "filter": ["==", "symbo", "GARE_VOYAGEURS"], + "paint": { + "icon-color": "#787878" + } + }, + { + "id": "toponyme - bornes postales haute - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLE", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "RUE_PIETONNE", + "RUE_PIETONNE_SOU", + "RUE_PIETONNE_SUP", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_RESTREINT", + "NON_CLASSEE_RESTREINT_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.3 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR", + "LOCALE_CONSTR_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.4 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.5 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales haute - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SOU", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SOU", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sur}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + -1.6 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - chemins", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "CHEMIN", + "CHEMIN_SOU", + "CHEMIN_SUP", + "PISTE_CYCLABLE", + "PISTE_CYCLABLE_SOU", + "PISTE_CYCLABLE_SUP", + "RUE_PIETONNE", + "RUE_PIETONNE_SOU", + "RUE_PIETONNE_SUP", + "SENTIER", + "SENTIER_SOU", + "SENTIER_SUP", + "ESCALIER", + "ESCALIER_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - non revetue, non classee", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "NON_CLASSEE", + "NON_CLASSEE_4", + "NON_CLASSEE_4_SUP", + "NON_CLASSEE_RESTREINT", + "NON_CLASSEE_RESTREINT_SUP", + "NON_CLASSEE_SOU", + "NON_CLASSEE_SUP", + "NON_REVETUE_CARRO", + "NON_REVETUE_CARRO_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.3 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - locales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "LOCALE_1", + "LOCALE_1_SOU", + "LOCALE_1_SUP", + "LOCALE_2", + "LOCALE_2_SOU", + "LOCALE_2_SUP", + "LOCALE_3", + "LOCALE_3_SOU", + "LOCALE_3_SUP", + "LOCALE_4", + "LOCALE_4_SOU", + "LOCALE_4_SUP", + "LOCALE_CONSTR", + "LOCALE_CONSTR_SUP" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.4 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - regionales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "REGIONALE_1", + "REGIONALE_1_SOU", + "REGIONALE_1_SUP", + "REGIONALE_2", + "REGIONALE_2_SOU", + "REGIONALE_2_SUP", + "REGIONALE_3", + "REGIONALE_3_SOU", + "REGIONALE_3_SUP", + "REGIONALE_4", + "REGIONALE_4_SUP", + "REGIONALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.5 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - bornes postales bas - principales", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_borne", + "minzoom": 17, + "maxzoom": 18, + "filter": ["in", "symbo", + "PRINCIPALE_1", + "PRINCIPALE_1_SOU", + "PRINCIPALE_1_SUP", + "PRINCIPALE_2", + "PRINCIPALE_2_SOU", + "PRINCIPALE_2_SUP", + "PRINCIPALE_3", + "PRINCIPALE_3_SOU", + "PRINCIPALE_3_SUP", + "PRINCIPALE_4", + "PRINCIPALE_4_SOU", + "PRINCIPALE_4_SUP", + "PRINCIPALE_CONSTR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{borne_sous}", + "text-size": 11, + "text-anchor": "center", + "text-allow-overlap": true, + "text-offset": [ + 0, + 1.6 + ], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#79654F", + "text-halo-width": 1, + "text-halo-color": "#FFFFFF" + } + }, + { + "id": "toponyme - courbe rocher maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["==", "txt_typo", "ORO_COURBE_ROCHER"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#333333", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe glacier maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["==", "txt_typo", "ORO_COURBE_GLACIER"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#629FD9", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - courbe maitresse", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["==", "txt_typo", "ORO_COURBE"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 30, + "text-rotate": { + "type": "identity", + "property": "rotation" + }, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#604A2F", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - liaison maritime", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_liaison_lin", + "minzoom": 8, + "maxzoom": 18, + "filter": ["in", "txt_typo", + "LIAISON_MARITIME", + "LIAISON_MAR" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#5792C2", + "text-halo-width": 5, + "text-halo-color": "#AAD5E9" + } + }, + { + "id": "toponyme bati station de métro + bati ponctuel metro", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": ["all", + ["==", "txt_typo", "TYPO_E_1"], + ["==", "symbo", "STATION_METRO"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-offset": [0.30, -0.25], + "text-padding": 3, + "text-anchor": "bottom-left", + "text-font": ["Source Sans Pro"], + "icon-image": "Metro", + "icon-size": { + "stops": [ + [15, 0.33], + [17, 0.6] + ] + } + }, + "paint": { + "text-color": "#3C3C3C", + "icon-color": "#646464" + } + }, + { + "id": "toponyme ferre lineaire", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ferre_lin", + "minzoom": 12, + "filter": ["in", "txt_typo", + "FER_NOM", + "FER_OUVRAGE" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10, + "text-anchor": "center", + "text-offset": [0, -1], + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme religieux zoom 15 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 16, + "filter": ["==", "txt_typo", "religieux"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme religieux zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": ["==", "txt_typo", "religieux"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme parc d'attractions zoom 14", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 14, + "filter": ["all", + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme parc d'attractions zoom 15 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": ["all", + ["==", "txt_typo", "divers_bati"], + ["==", "symbo", "PARC_ATTRACTIONS"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati divers zoom 15", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 15, + "filter": ["all", + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati divers zoom 16 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": ["all", + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", + "CENTRALE_ELECTRIQUE", + "HIPPODROME", + "STADE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme chateau zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": ["all", + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme chateau zoom 17 à 19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": ["all", + ["==", "txt_typo", "divers_bati"], + ["in", "symbo", + "CHATEAU", + "CHATEAU_FORT" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme station epuration, de pompage, usine de production eau", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "filter": ["==", "txt_typo", "station"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-anchor": "left", + "text-offset": [0.8, 0], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#447FB3" + } + }, + { + "id": "toponyme bati ponc gare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "filter": ["==", "txt_typo", "gore"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati ponc barrage", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": ["==", "txt_typo", "BARRAGE_PONC"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "left", + "text-offset": [0.8, 0], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#447FB3" + } + }, + { + "id": "toponyme bati ponc phare - niveau 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "maxzoom": 13, + "filter": ["==", "txt_typo", "PHARE"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc phare - niveau 14à19", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "filter": ["all", + ["==", "symbo", "PHARE"], + ["in", "txt_typo", + "TYPO_C_6", + "TYPO_C_7", + "TYPO_C_8", + "TYPO_E_GE" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "right", + "text-size": { + "stops": [ + [13, 12], + [18, 18] + ] + }, + "text-allow-overlap": false, + "text-offset": [-2.00, 0], + "text-padding": 3, + "text-anchor": "right", + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc autre", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "filter": ["in", "txt_typo", + "BAT_ACTIVITE", + "BAT_FORTIF", + "BAT_VILLAGE_DETRUIT" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#532A2A" + } + }, + { + "id": "toponyme bati ponc aerogare", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 14, + "maxzoom": 17, + "filter": ["all", + ["==", "txt_typo", "TYPO_E_GE"], + ["==", "symbo", "AEROGARE"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [12, 9], + [16, 11] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme bati ponc aeroport 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": ["==", "txt_typo", "AEROPORT_PONC"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [0, -1.3], + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "filter": ["==", "txt_typo", "AEROPORT_PONC"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [0, -2], + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aeroport", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": ["all", + ["==", "txt_typo", "TYPO_A_5"], + ["==", "symbo", "AEROPORT"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [12, 11], + [16, 13] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 12", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 11, + "maxzoom": 12, + "filter": ["==", "txt_typo", "AERODROME_PONC"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [0, -1.3], + "text-size": 9.5, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome 13", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 12, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "AERODROME_PONC", + "AERODROME_IMPORT_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "bottom", + "text-offset": [0, -2], + "text-size": 10, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc aerodrome", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 13, + "maxzoom": 17, + "filter": ["all", + ["==", "txt_typo", "TYPO_A_7"], + ["==", "symbo", "AERODROME"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-anchor": "center", + "text-size": { + "stops": [ + [12, 10], + [16, 12] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro"] + }, + "paint": { + "text-color": "#120049", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro ponc 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["in", "txt_typo", + "TYPO_D_9", + "TYPO_D_10", + "TYPO_E_1_cyan" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 11], + [17, 14] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - hydro ponc glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["==", "txt_typo", "ORO_GLACIER_2"], + "layout": { + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 14, + "text-anchor": "center", + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - limite militaire ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["in", "txt_typo", + "LIM_MILI_3", + "LIM_MILI_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - limite parc ponc 3 et 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["in", "txt_typo", + "LIM_PARC_3", + "LIM_PARC_4", + "RESERVE_NATURELLE_PONC" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 2, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme numéro de route - départementale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 11, + "maxzoom": 16, + "filter": ["==", "txt_typo", "Départementale"], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 10.5, + "text-allow-overlap": false, + "text-padding": 2, + "text-anchor": "center", + "text-font": ["Source Sans Pro Semibold"], + "text-rotation-alignment": "viewport" + }, + "paint": { + "text-color": "#4D4D4D", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - nationale", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": ["==", "txt_typo", "Nationale"], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": ["Source Sans Pro Regular"], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme numéro de route - autoroute", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_numero_lin", + "minzoom": 7, + "maxzoom": 16, + "filter": ["==", "txt_typo", "Autoroute"], + "layout": { + "visibility": "visible", + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 0, + "text-anchor": "center", + "text-font": ["Source Sans Pro Regular"], + "icon-image": "Ecluse", + "icon-rotation-alignment": "viewport", + "text-rotation-alignment": "viewport", + "icon-text-fit": "both", + "icon-size": 0 + }, + "paint": { + "text-color": "#F0F0F0", + "icon-color": "#646464", + "text-halo-color": "rgba(80, 80, 80, 0.5)", + "text-halo-width": 5 + } + }, + { + "id": "toponyme - odonyme abrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 15, + "maxzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_gauche}", + "text-size": 10, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - odonyme desabrégé", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_routier_odonyme_lin", + "minzoom": 17, + "layout": { + "symbol-placement": "line", + "text-field": "{nom_desabrege}", + "text-size": 11, + "text-anchor": "center", + "text-max-angle": 30, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 1)" + } + }, + { + "id": "toponyme - lieu dit non habité 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", + "TYPO_B_10", + "TYPO_B_11" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==", "symbo", "BOIS"], + ["in", "txt_typo", + "TYPO_F_9", + "TYPO_F_10" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in", "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 11, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["in", "txt_typo", + "ORO_SOMMET_3", + "ORO_GORGE_2", + "GROTTE", + "GORGE", + "TYPO_G_8", + "TYPO_G_9" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [13, 11], + [16, 16] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro ponc 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["in", "txt_typo", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_8", + "SOURCE" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [14, 13], + [17, 16] + ] + }, + "text-allow-overlap": true, + "text-padding": 5, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1 + } + }, + { + "id": "toponyme quartier ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "filter": ["in", "txt_typo", + "BAT_QUARTIER", + "BAT_QUARTIER_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Quartier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 17, + "maxzoom": 18, + "filter": ["all", + ["==", "symbo", "QUARTIER"], + ["==", "txt_typo", "TYPO_E_GE"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 11], + [17, 13.5] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typo_E_GE Lieu-dit", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 16, + "maxzoom": 18, + "filter": ["all", + ["==", "symbo", "LIEU-DIT-HABITE"], + ["==", "txt_typo", "TYPO_E_GE"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 11], + [17, 13.5] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA10", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": ["==", "txt_typo", "TYPO_A_10"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 11], + [17, 13.5] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - lieu dit non habité", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", + "TYPO_B_7", + "TYPO_B_8", + "TYPO_B_9" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 12, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==", "symbo", "BOIS"], + ["in", "txt_typo", + "TYPO_F_6", + "TYPO_F_7", + "TYPO_F_8" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 16, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite hameau ", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 11, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "BAT_HAMEAU", + "BAT_HAMEAU_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.17, + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 6et7 - Special DOM", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "TYPO_A_6", + "TYPO_A_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 12.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 5", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 9, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "TYPO_A_5", + "BAT_COMMUNE_5", + "BAT_COMMUNE_5_T", + "BAT_CHEF_LIEU_COM", + "BAT_CHEF_LIEU_COM_T", + "BAT_CHEF_LIEU_COM-T", + "BAT_ANCIENNE_COM", + "BAT_ANCIENNE_COM_T", + "BAT_COMMUNE_ASSOCIEE", + "BAT_COMMUNE_ASSOCIEE_T", + "Commune très petite" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 11.5, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": ["==", "txt_typo", "OCS_FORET_3"], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [10, 12], + [12, 15] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 1, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - lieu dit non habité 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==", "symbo", "LIEU-DIT_NON_HABITE"], + ["in", "txt_typo", + "TYPO_B_5", + "TYPO_B_4" + + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - bois 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==", "symbo", "BOIS"], + ["in", "txt_typo", + "TYPO_F_5", + "TYPO_F_4" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - bois 0", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["all", + ["==", "symbo", "BOIS"], + ["in", "txt_typo", + "TYPO_F_3", + "TYPO_F_2" + ] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 22, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["==", "txt_typo", "OCS_FORET_3"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [10, 12], + [12, 15] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 1 + } + }, + { + "id": "toponyme - oro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in", "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 12, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "filter": ["in", "txt_typo", + "ORO_ILE_3", + "ORO_RELIEF_3", + "ORO_RELIEF_3_T", + "ORO_RELIEF_4", + "ORO_RELIEF_4_T", + "ORO_CAP_2", + "ORO_CAP_3", + "ORO_SOMMET_2", + "ORO_COL_2", + "ORO_GORGE_1", + "ORO_GORGE-1", + "TYPO_G_6", + "TYPO_G_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [13, 12], + [16, 17] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "#FFFFFF", + "text-halo-width": 1.5 + } + }, + { + "id": "toponyme - hydro lineaire 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in", "txt_typo", + "HYD_LIN_3", + "HYD_LIN_4", + "HYD_LIN_5", + "TYPO_D_LIN_3", + "TYPO_D_LIN_4", + "HYD_SURF_3", + "HYD_SURF_3_T", + "HYD_SURF_4", + "HYD_SURF_4_T", + "HYD_SURF_5", + "HYD_SURF_5_T", + "TYPO_D_5", + "TYPO_D_7" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [14, 12], + [18, 19] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - hydro lineaire 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "minzoom": 14, + "filter": ["in", "txt_typo", + "TYPO_D_6", + "TYPO_D_8", + "TYPO_D_9", + "TYPO_D_10" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [14, 10], + [18, 16] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 1.5, + "text-halo-color": "rgba(255, 255, 255, 0.7)" + } + }, + { + "id": "toponyme - hydro ponc 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["in", "txt_typo", + "HYD_SURF_3", + "TYPO_D_5", + "TYPO_D_6", + "TYPO_D_7" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [9, 13], + [10, 15], + [15, 15], + [17, 18] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme bati ponc zai zoom 16", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 15, + "maxzoom": 16, + "filter": ["==", "txt_typo", "zai"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{designation}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme bati ponc zai zoom 17 et 18", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_bati_ponc", + "minzoom": 16, + "filter": ["==", "txt_typo", "zai"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#000000" + } + }, + { + "id": "toponyme localite importance 4", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 7, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "TYPO_A_4", + "BAT_COMMUNE_4", + "BAT_COMMUNE_4_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA9", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 18, + "filter": ["==", "txt_typo", "TYPO_A_9"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 11.5], + [17, 14] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA8 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": ["all", + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 12], + [17, 15] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite militaire ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "filter": ["in", "txt_typo", + "LIM_MILI_1", + "LIM_MILI_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 5, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#0D2000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc marin", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 8, + "filter": ["in", "txt_typo", + "PARC_MARIN_1", + "PARC_MARIN_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#2A81A2", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - limite parc ponc 1 et 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_limite_ponc", + "minzoom": 8, + "filter": ["in", "txt_typo", + "LIM_PARC_1", + "LIM_PARC_2", + "PARC_1", + "PARC_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": false, + "text-padding": 10, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - ocs lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": ["==", "txt_typo", "OCS_FORET_2"], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [10, 15], + [12, 18] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["==", "txt_typo", "OCS_FORET_2"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [10, 15], + [12, 18] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-anchor": "center", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in", "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_SOMMET_1" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 10, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 9, + "filter": ["in", "txt_typo", + "ORO_ILE_2", + "ORO_RELIEF_2", + "ORO_RELIEF_2_T", + "ORO_CAP_1", + "ORO_COL_1", + "TYPO_G_5", + "ORO_SOMMET_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [9, 13], + [10, 15], + [13, 15], + [16, 19] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "filter": ["==", "txt_typo", "TYPO_G_4"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [13, 15], + [16, 19] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in", "txt_typo", + "HYD_LIN_2", + "TYPO_D_LIN_2", + "HYD_SURF_2", + "HYD_SURF_2_T", + "TYPO_D_4" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [14, 15], + [18, 21] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 5, + "filter": ["in", "txt_typo", + "moyen", + "HYD_SURF_2", + "TYPO_D_2" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [5, 12], + [6, 18], + [10, 17], + [18, 21] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro ponc 2B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "filter": ["in", "txt_typo", + "TYPO_D_3", + "TYPO_D_4" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [9, 15], + [10, 17], + [18, 21] + ] + }, + "text-allow-overlap": false, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "#FFFFFF", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite importance 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 5, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "commune 3", + "TYPO_A_3", + "BAT_COMMUNE_3", + "BAT_COMMUNE_3_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.21, + "text-field": "{texte}", + "text-size": { + "stops": [ + [5, 10], + [6, 15] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.10], + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": ["all", + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 13], + [17, 16] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": ["all", + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 15], + [17, 18] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_lin", + "filter": ["in", "txt_typo", + "ORO_ILE_1", + "ORO_RELIEF_1", + "ORO_RELIEF_1_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 20, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 5, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#863831", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - oro ponc monde", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 5, + "filter": ["in", "txt_typo", + "Basin", + "Depression", + "Desert", + "Geoarea", + "Gorge", + "Isthmus", + "Lake", + "Lowland", + "Pen/cape", + "Plain", + "Plateau", + "Range/mtn", + "Tundra", + "Valley", + "Island", + "Island group" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 11, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA4 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme - ocs lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_lin", + "filter": ["==", "txt_typo", "OCS_FORET_1"], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": { + "stops": [ + [10, 18], + [12, 22] + ] + }, + "text-anchor": "center", + "text-keep-upright": true, + "text-padding": 1, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - ocs ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_ocs_ponc", + "filter": ["==", "txt_typo", "OCS_FORET_1"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [10, 18], + [12, 22] + ] + }, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#287B00", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "filter": ["in", "txt_typo", + "ORO_ILE_1", + "ORO_RELIEF_1", + "ORO_RELIEF_1_T", + "TYPO_G_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - oro ponc 1B", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_oro_ponc", + "minzoom": 8, + "filter": ["in", "txt_typo", + "TYPO_G_2", + "TYPO_G_3" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [12, 15], + [13, 21] + ] + }, + "text-allow-overlap": false, + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#863831", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme - hydro lineaire glacier", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in", "txt_typo", + "ORO_GLACIER_1", + "ORO_GLACIER_2" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 15, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-font": ["Source Sans Pro Italic"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro lineaire 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["in", "txt_typo", + "HYD_LIN_1", + "HYD-LIN-1", + "TYPO_D_LIN_1", + "HYD_SURF_1", + "HYD_SURF_1_T", + "TYPO_D_1", + "TYPO_D_2", + "TYPO_D_3_T", + "TYPO_D_4_T" + ], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 18, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 2, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro lineaire ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_lin", + "filter": ["==", "txt_typo", "OCEAN_MER"], + "layout": { + "symbol-placement": "line", + "text-field": "{texte}", + "text-size": 30, + "text-anchor": "center", + "text-keep-upright": true, + "text-max-angle": 45, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-width": 4, + "text-halo-color": "rgba(255, 255, 255, 0.5)" + } + }, + { + "id": "toponyme - hydro ponc 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 4, + "filter": ["in", "txt_typo", + "mer", + "grand", + "HYD_SURF_1", + "TYPO_D_1" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [4, 16], + [6, 30], + [10, 25] + ] + }, + "text-allow-overlap": true, + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "commune 2", + "TYPO_A_2", + "BAT_COMMUNE_2", + "BAT_COMMUNE-2", + "BAT_COMMUNE_2_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.25, + "text-field": "{texte}", + "text-size": { + "stops": [ + [4, 10], + [6, 17] + ] + }, + "text-allow-overlap": true, + "text-anchor": "bottom-left", + "text-offset": [0.30, 0.2], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA8 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": ["all", + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_8"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 12], + [17, 15] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA7 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": ["all", + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_7"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 13], + [17, 16] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA5etA6 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 18, + "filter": ["all", + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["in", "txt_typo", "TYPO_A_5", "TYPO_A_6"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [15, 15], + [17, 18] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 2 + } + }, + { + "id": "toponyme localite n0 typoA1 non commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["!=", "symbo", "COMMUNE_FUSIONNEE"], + ["!=", "symbo", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA4 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_4"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 17, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA3 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_3"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 19, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 3 + } + }, + { + "id": "toponyme localite n0 typoA2 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_2"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 21, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite importance 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 3, + "maxzoom": 13, + "filter": ["in", "txt_typo", + "commune 1", + "TYPO_A_1", + "BAT_COMMUNE_1", + "BAT_COMMUNE_1_T" + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "icon-image": "Localite", + "icon-size": 0.3, + "text-field": "{texte}", + "text-size": { + "stops": [ + [3, 10], + [6, 20] + ] + }, + "text-allow-overlap": false, + "text-anchor": "bottom-left", + "text-offset": [0.25, -0.10], + "text-padding": 1, + "text-transform": "uppercase", + "text-font": { + "stops": [ + [1, ["Source Sans Pro Regular"]], + [7, ["Source Sans Pro Bold"]], + [10, ["Source Sans Pro Regular"]] + ] + } + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme localite n0 typoA1 commune", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 13, + "maxzoom": 16, + "filter": ["all", + ["in", "symbo", "COMMUNE_FUSIONNEE", "COMMUNE_CHEF_LIEU"], + ["==", "txt_typo", "TYPO_A_1"] + ], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": 23, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#000000", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme - hydro ponc ocean", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_hydro_ponc", + "minzoom": 1, + "filter": ["==", "txt_typo", "ocean"], + "layout": { + "visibility": "visible", + "symbol-placement": "point", + "text-field": "{texte}", + "text-size": { + "stops": [ + [1, 16], + [6, 30] + ] + }, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 10, + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#447FB3", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 3", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 4, + "maxzoom": 5, + "filter": ["==", "txt_typo", "pays 3"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 9, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 2", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": ["==", "txt_typo", "pays 2"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme pays 1", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "minzoom": 2, + "maxzoom": 5, + "filter": ["==", "txt_typo", "pays 1"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 13, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 2, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Regular"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "toponyme continent", + "type": "symbol", + "source": "plan_ign", + "source-layer": "toponyme_localite_ponc", + "maxzoom": 3, + "filter": ["==", "txt_typo", "continent"], + "layout": { + "visibility": "visible", + "text-field": "{texte}", + "text-size": 15, + "text-allow-overlap": true, + "text-anchor": "center", + "text-padding": 1, + "text-transform": "uppercase", + "text-font": ["Source Sans Pro Bold"] + }, + "paint": { + "text-color": "#787878", + "text-halo-color": "rgba(255, 255, 255, 0.5)", + "text-halo-width": 4 + } + }, + { + "id": "administratif_ou_militaire", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "administratif_ou_militaire" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Administratif ou militaire" + ] + ] + }, + { + "id": "culture_et_loisirs", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "culture_et_loisirs" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Culture et loisirs" + ] + ] + }, + { + "id": "gestion_des_eaux", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "gestion_des_eaux" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Gestion des eaux" + ] + ] + }, + { + "id": "industriel_et_commercial", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "industriel_et_commercial" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Industriel et commercial" + ] + ] + }, + { + "id": "religieux", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "religieux" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Religieux" + ] + ] + }, + { + "id": "sante", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "sante" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Santé" + ] + ] + }, + { + "id": "science_et_enseignement", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "science_et_enseignement" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Science et enseignement" + ] + ] + }, + { + "id": "sport", + "type": "fill", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "minzoom": 14, + "paint": { + "fill-pattern": "sport" + }, + "filter": [ + "all", + [ + "==", + "categorie", + "Sport" + ] + ] + }, + { + "id": "zone_d_activite_ou_d_interet", + "type": "line", + "source": "bdtopo", + "source-layer": "zone_d_activite_ou_d_interet", + "paint": { + "line-width": 0.75 + } + }, + { + "id": "surface_hydrographique_surf", + "type": "fill", + "source": "bdtopo", + "source-layer": "surface_hydrographique", + "paint": { + "fill-color": "transparent" + } + }, + { + "id": "surface_hydrographique_limites", + "type": "line", + "source": "bdtopo", + "source-layer": "surface_hydrographique", + "paint": { + "line-color": "transparent" + }, + "minzoom": 13 + }, + { + "id": "troncon_hydrographique", + "type": "line", + "source": "bdtopo", + "source-layer": "troncon_hydrographique", + "paint": { + "line-color": "transparent" + }, + "minzoom": 13 + }, + { + "id": "cours_d_eau", + "type": "line", + "source": "bdtopo", + "source-layer": "cours_d_eau", + "paint": { + "line-color": "transparent", + "line-dasharray": [6, 2], + "line-width": 1.5 + }, + "minzoom": 13, + "layout": { + "visibility": "visible" + } }, { "id": "noeud_hydrographique", @@ -6762,15 +10782,6 @@ "line-color": "transparent" } }, - - - - - - - - - { "id": "zone_de_vegetation_surf", "type": "fill",