{"id":454,"date":"2025-01-26T18:45:24","date_gmt":"2025-01-26T17:45:24","guid":{"rendered":"https:\/\/marrevaysse-essentia.fr\/?page_id=454"},"modified":"2026-03-30T10:33:45","modified_gmt":"2026-03-30T08:33:45","slug":"points-de-vente","status":"publish","type":"page","link":"https:\/\/marrevaysse-essentia.fr\/index.php\/points-de-vente\/","title":{"rendered":"Points de vente"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"454\" class=\"elementor elementor-454\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7fba67a e-flex e-con-boxed e-con e-parent\" data-id=\"7fba67a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2d64e94 elementor-widget elementor-widget-heading\" data-id=\"2d64e94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Les points de vente :<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3712ccc e-flex e-con-boxed e-con e-parent\" data-id=\"3712ccc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-961dae5 elementor-widget elementor-widget-html\" data-id=\"961dae5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet\/dist\/leaflet.css\" \/> \r\n<script src=\"https:\/\/unpkg.com\/leaflet\/dist\/leaflet.js\"><\/script>\r\n\r\n<div id=\"map\" style=\"height: 500px; border-radius: 8px;\"><\/div>\r\n\r\n<script>\r\n\/\/ Centre de la carte (exemple)\r\nvar map = L.map('map').setView([46.56844522884191, 3.1491152288001643], 6);\r\n\r\n\/\/ TileLayer OSM\r\nL.tileLayer('https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png', {\r\n  maxZoom: 19,\r\n  attribution: '&copy; OpenStreetMap contributors'\r\n}).addTo(map);\r\n\r\n\/\/ D\u00e9finition des ic\u00f4nes (utiliser keys coh\u00e9rentes)\r\nvar icons = {\r\n pharmacie: L.icon({\r\n    iconUrl:  'https:\/\/raw.githubusercontent.com\/pointhi\/leaflet-color-markers\/master\/img\/marker-icon-green.png',\r\n    shadowUrl: 'https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/leaflet\/1.7.1\/images\/marker-shadow.png',\r\n    iconSize: [25, 41],\r\n    iconAnchor: [12, 41],\r\n    popupAnchor: [1, -34],\r\n    shadowSize: [41, 41]\r\n  }),\r\n  autre: L.icon({\r\n    iconUrl: 'https:\/\/raw.githubusercontent.com\/pointhi\/leaflet-color-markers\/master\/img\/marker-icon-blue.png',\r\n    shadowUrl: 'https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/leaflet\/1.7.1\/images\/marker-shadow.png',\r\n    iconSize: [25, 41],\r\n    iconAnchor: [12, 41],\r\n    popupAnchor: [1, -34],\r\n    shadowSize: [41, 41]\r\n  }),\r\n  marrevaysse: L.icon({\r\n    iconUrl: 'https:\/\/raw.githubusercontent.com\/pointhi\/leaflet-color-markers\/master\/img\/marker-icon-violet.png',\r\n    shadowUrl: 'https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/leaflet\/1.7.1\/images\/marker-shadow.png',\r\n    iconSize: [25, 41],\r\n    iconAnchor: [12, 41],\r\n    popupAnchor: [1, -34],\r\n    shadowSize: [41, 41]\r\n  }),\r\n  herboristerie: L.icon({\r\n    iconUrl:  'https:\/\/raw.githubusercontent.com\/pointhi\/leaflet-color-markers\/master\/img\/marker-icon-yellow.png',\r\n    shadowUrl: 'https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/leaflet\/1.7.1\/images\/marker-shadow.png',\r\n    iconSize: [25, 41],\r\n    iconAnchor: [12, 41],\r\n    popupAnchor: [1, -34],\r\n    shadowSize: [41, 41]\r\n  })\r\n};\r\n\r\n\/\/ Liste des points\r\nvar points = [\r\n  {lat: 43.7754, lng: 2.1882, title: \"Pharmacie de R\u00e9almont\", type: \"pharmacie\"},\r\n  {lat: 43.89918631558184,  lng: 1.8971242243570323, title: \"Pharmacie Tahou,<\/br> Gaillac\", type: \"pharmacie\"},\r\n  {lat: 43.936922284948594, lng: 2.183077953192661, title: \"Pharmacie de la Renaudi\u00e9, <\/br> Albi\", type: \"pharmacie\"},\r\n  {lat: 43.7060749326026, lng:  2.1376319131850146, title: \"Pharmacie de Lautrec\", type: \"pharmacie\"},\r\n  {lat: 43.82258029005714, lng:  1.723649018735443, title: \"Pharmacie Saint Michel,<\/br> Rabastens\", type: \"pharmacie\"},\r\n  {lat: 43.76419916615341, lng:  1.9856145803851768, title: \"Pharmacie Cathalau,<\/br>  Graulhet\", type: \"pharmacie\"},\r\n  {lat: 43.96425745900323, lng:  1.8222910260365253, title: \"Vival, <\/br> Castelnau de Montmiral\", type: \"autre\"},\r\n  {lat: 43.94182696415331, lng:  1.8192275813503793, title: \"Gite de Marrevaysse, <\/br> Castelnau de Montmiral\", type: \"autre\"},\r\n  {lat: 43.91594071442939, lng:  2.0963066367206724, title: \"\u00d4 Saveurs Paysannes, <\/br> Le Sequestre\", type: \"autre\"},   \r\n  {lat: 43.82068808223321, lng:  1.7233649185737077, title: \"L'\u00e9pi se rit Biologique, <\/br> Rabastens\", type: \"autre\"},\r\n  {lat: 43.976816925985744, lng:  1.7889364128184801, title: \"Camping du Ch\u00eane Vert, <\/br> Castelnau de Montmiral\", type: \"autre\"}, \r\n  {lat: 43.97611744353916, lng:  1.7881655722699927, title: \"Domaine de la Durantie, <\/br> Castelnau de Montmiral\", type: \"autre\"},  \r\n  {lat: 43.965772001496575, lng:  1.820113752965023, title: \"Hotel des Consuls, <\/br> Castelnau de Montmiral\", type: \"autre\"},\r\n  {lat: 43.94439422360667, lng: 1.818260177760684, title: \"Marrevaysse Essentia\", type: \"marrevaysse\"},\r\n  {lat: 43.85261920890794, lng: 1.8098998135238116, title: \"Pharmacie des Arcades, <\/br> Lisle sur Tarn\", type: \"pharmacie\"},\r\n  {lat: 43.92840830459443, lng: 2.144076947545524, title: \"Office de Tourisme, <\/br> Albi\", type: \"autre\"} ,\r\n  {lat: 43.90530881553459, lng: 1.6877893188038584, title: \"Pharmacie de Salvagnac, <\/br> Salvagnac\", type: \"pharmacie\"},\r\n  {lat: 43.72012159075125, lng: 2.3272948137001093, title: \"Pharmacie Ferrier , <\/br> Montredon Labessonni\u00e9\", type: \"pharmacie\"},\r\n  {lat: 43.83420971227662, lng: 2.341520555745427, title : \"Pharmacie Durand , <\/br> Teillet\", type: \"pharmacie\"},\r\n {lat: 43.761795874917695, lng: 1.777319243603617, title : \"Pharmacie des potiers , <\/br> Giroussens\", type: \"pharmacie\"},\r\n {lat: 43.75090958466771,  lng: 1.9090604464238408, title : \"Pharmacie Gissot-Ruiz , <\/br> Briatexte\", type: \"pharmacie\"},\r\n {lat: 43.896090,  lng: 1.876178, title: \"So.Bio, <\/br> Gaillac\", type: \"autre\"} ,\r\n   {lat: 44.029504, lng: 1.370521, title: \"So.Bio, <\/br> Montauban\", type: \"autre\"} ,\r\n {lat: 43.91934673832595, lng:  2.1648189420235253, title: \"So.Bio, <\/br> Albi\", type: \"autre\"} ,\r\n  {lat: 43.66643780943742, lng: 1.4413549457330652, title: \"So.Bio, <\/br> Launaguet\", type: \"autre\"} , \r\n  {lat: 43.70383611733856 , lng: 1.8213084457348678, title: \"Biomonde, <\/br> Lavaur\", type: \"autre\"} ,\r\n {lat: 43.70298288062973, lng: 1.8066321860717085, title : \"Pharmacie Centrale Puech , <\/br> Lavaur\", type: \"pharmacie\"},\r\n {lat: 43.595130 , lng: 2.224333, title: \"SoBio, <\/br> Castres\", type: \"autre\"} ,\r\n   {lat: 44.049750, lng: 2.155889, title : \"Pharmacie Renaux, <\/br> Carmaux\", type: \"pharmacie\"},\r\n   {lat: 43.964515661755875 , lng: 1.4284298567986757, title : \"Pharmacie de St Nauphary, <\/br> St Nauphary\", type: \"pharmacie\"}, \r\n   {lat: 43.76183934305689, lng:  1.989055042058995, title : \"Pharmacie du Jourdain, <\/br> Graulhet\", type: \"pharmacie\"}, \r\n   {lat:44.12458291182106,  lng: 2.2460255048241273, title : \"Pharmacie Szatny, <\/br> Pampelonne\", type: \"pharmacie\"}, \r\n  {lat: 43.89339455323085, lng:   1.8789645445687062, title : \"Pharmacie de Piquerouge, <\/br> Gaillac\", type: \"pharmacie\"},  \r\n  {lat: 44.83903358984282 , lng:   -0.579544299892425, title : \"Le Tisanier d'Oc, <\/br> Bordeaux\", type: \"herboristerie\"},\r\n   {lat: 45.77803491197112,   lng:   3.084398454625885, title : \"Maison Beaulaton, <\/br> Clermont-Ferrand\", type: \"herboristerie\"},\r\n   {lat: 43.29752636135843 , lng:  -0.37315385295893616, title : \"M'aimer dans les orties, <\/br> Pau\", type: \"herboristerie\"},\r\n   {lat: 43.48913685241864,  lng:  -0.7736020275375189, title : \"M'aimer dans les orties, <\/br> Orthez\", type: \"herboristerie\"},\r\n    {lat: 44.018138531659055,  lng:  1.3553216545051026, title : \"Herboristerie Hygye, <\/br> Montauban\", type: \"herboristerie\"},\r\n     {lat:44.098541516887956,  lng:2.3098180889741284, title : \"Pharmacie du Viaur, <\/br> Tanus\", type: \"pharmacie\"}, \r\n  ];\r\n\r\n\/\/ Fonction utilitaire pour obtenir zIndex selon le type\r\nfunction getZIndexForType(type) {\r\n  if (type === 'marrevaysse') return 1000;\r\n  if (type === 'pharmacie') return 500;\r\n  return 0; \/\/ autre\r\n}\r\n\r\n\/\/ Ajout des marqueurs\r\npoints.forEach(function(p) {\r\n  var iconChoisie = icons[p.type];\r\n  if (!iconChoisie) {\r\n    console.warn('Type d\\'ic\u00f4ne inconnu pour le point:', p);\r\n    iconChoisie = icons['autre']; \/\/ fallback\r\n  }\r\n\r\n  var zIndex = getZIndexForType(p.type);\r\n\r\n  var query = encodeURIComponent(p.title);\r\n\r\n  var popupContent = `\r\n    <div style=\"\r\n      font-family: Montserrat, Arial, sans-serif; \r\n      font-size: 16px; \r\n      padding: 10px; \r\n      max-width: 250px; \r\n      border-radius: 10px;\r\n      background: #ffffff;\r\n      color: #111;\r\n    \">\r\n      <b>${p.title}<\/b><br>\r\n      <a href=\"https:\/\/www.google.com\/maps\/search\/?api=1&query=${query}\" target=\"_blank\" style=\"text-decoration: underline;\">Voir sur Google Maps<\/a>\r\n    <\/div>\r\n  `;\r\n\r\n  L.marker([p.lat, p.lng], {\r\n    icon: iconChoisie,\r\n    zIndexOffset: zIndex\r\n  })\r\n  .addTo(map)\r\n  .bindPopup(popupContent, {maxWidth: 300});\r\n});\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a8c4cdc e-flex e-con-boxed e-con e-parent\" data-id=\"a8c4cdc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-86d3e79 e-flex e-con-boxed e-con e-parent\" data-id=\"86d3e79\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Les points de vente :<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"class_list":["post-454","page","type-page","status-publish","hentry","entry","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"_links":{"self":[{"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/pages\/454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/comments?post=454"}],"version-history":[{"count":150,"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/pages\/454\/revisions"}],"predecessor-version":[{"id":1046,"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/pages\/454\/revisions\/1046"}],"wp:attachment":[{"href":"https:\/\/marrevaysse-essentia.fr\/index.php\/wp-json\/wp\/v2\/media?parent=454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}