{"id":6421,"date":"2025-12-02T16:38:22","date_gmt":"2025-12-02T16:38:22","guid":{"rendered":"https:\/\/www.foilenvie.fr\/?p=6421"},"modified":"2025-12-02T20:01:09","modified_gmt":"2025-12-02T20:01:09","slug":"map-ambassadeurs-indiana-france","status":"publish","type":"post","link":"https:\/\/www.foilenvie.fr\/en\/map-ambassadeurs-indiana-france\/","title":{"rendered":"Map Ambassadeurs Indiana France"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>Trouvez en un coup d&rsquo;oeil si un ambassadeur Indiana se trouve pr\u00e8s de chez vous et quel mat\u00e9riel il peut vous faire tester !<\/strong><\/h3>\n\n\n        <div id=\"poi-map\" style=\"width: 100%; height: 600px;\"><\/div>\n        <script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyD5RtqozZ4Y6Fd7nf8raYnbyz2nYs_UxOU\"><\/script>\n        <script>\n            var poiLocations = [{\"id\":\"4\",\"nom_prenom\":\"Irwin\",\"adresse\":\"100 rue Dedieu\",\"ville\":\"Villeurbanne\",\"code_postal\":\"69100\",\"liste_materiel\":\"Board(s) :\\n- G-Pro 63L\\n- Pump Magic HD 83\\n\\nFoil(s) :\\n- Barracuda XL, L+, L, M\\n- Condor M, S\\n- Marlin S, XS\\n- Dolphin M, S\\n\\nMat(s) :\\n- Mat Lighning 86cm\\n- Mat UHM 76cm\\n- Mat Drive 75cm\\n\\nStabs \\\/ Fuselages :\\n- Queue M\\\/S - XS\\\/XXS\\n- Condor S, Barracuda S\\n-\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Irwin.jpg\",\"latitude\":\"45.76936090\",\"longitude\":\"4.87216170\"},{\"id\":\"5\",\"nom_prenom\":\"Christophe\",\"adresse\":\"1-10 Espl. de l'H\\u00f4tel de ville\",\"ville\":\"Cesson Sevigne\",\"code_postal\":\"35510\",\"liste_materiel\":\"Board(s) :\\n- Indiana 3'9 Pump Foil \\\"Le Doigt\\\" Carbon\\n\\nFoil(s) :\\n- Barracuda XL\\n- Condor XL\\n\\nMat(s) :\\n- Mat Drive HM 75cm\\n\\nStabs \\\/ Fuselages :\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Christophe-Guirado-scaled.jpg\",\"latitude\":\"48.11989640\",\"longitude\":\"-1.60319990\"},{\"id\":\"6\",\"nom_prenom\":\"Matthieu\",\"adresse\":\"21-1 Rue des M\\u00fbriers\",\"ville\":\"LE MANS\",\"code_postal\":\"72100\",\"liste_materiel\":\"Board(s) :\\n- NA\\n\\nFoil(s) :\\n- Condor S\\n- Barracuda L+\\n\\nMat(s) :\\n- Mat Drive 85cm\\n\\nStabs \\\/ Fuselages :\\n- Fuselage XS\\\/XXS\\n- Stab Condor S\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Matthieu-Bacle-3-e1764784575685.png\",\"latitude\":\"48.00801670\",\"longitude\":\"0.18597740\"},{\"id\":\"7\",\"nom_prenom\":\"J\\u00e9rome\",\"adresse\":\"av de chavoire\",\"ville\":\"Annecy\",\"code_postal\":\"74940\",\"liste_materiel\":\"Board(s) :\\n- 3'7 Le doigt\\n- Hydroskate 98\\n- Pump Carbone 83\\n- 4'0 Le Doigt\\n\\nFoil(s) :\\n- Barracuda L, M\\n- Marlin M\\n- Condor XL\\n- HP : 1050X-AR, 1320XAR, 1396 P (=Manta XL)\\nStab : Barracuda S, Condor M\\n\\nFuselage(s) :\\n- Queue XS\\\/S, M\\\/S\\n- Alu HD 610\\n\\nMats : \\n- HM85, Alu 75cm\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/jerome_badux.png\",\"latitude\":\"45.90347560\",\"longitude\":\"6.15996820\"},{\"id\":\"9\",\"nom_prenom\":\"Leilou\",\"adresse\":\"103-9 Rue Bailli de Suffren\",\"ville\":\"Le Pradet\",\"code_postal\":\"83220\",\"liste_materiel\":\"Board(s) :\\n\\nFoil(s) :\\n\\nFuselage(s) :\\n\\nMats :\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/leilou.jpg\",\"latitude\":\"43.09319190\",\"longitude\":\"6.02615650\"},{\"id\":\"10\",\"nom_prenom\":\"Adam\",\"adresse\":\"110 Av. du Carreau\",\"ville\":\"Meyzieu\",\"code_postal\":\"69330\",\"liste_materiel\":\"Board(s) :\\nNA\\n\\nFoil(s) :\\n- Barracuda XL, L\\n\\nFuselage(s) :\\n- Queue de fuselage XS\\\/XXS\\n- Barracuda L\\\/S modifi\\u00e9\\n\\nMats : \\n- Mat Drive 75 cm\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Adam-Mercier-2.jpg\",\"latitude\":\"45.78207740\",\"longitude\":\"4.98891930\"},{\"id\":\"11\",\"nom_prenom\":\"Basile\",\"adresse\":\"11-3 Av. du Lac\",\"ville\":\"Embrun\",\"code_postal\":\"05200\",\"liste_materiel\":\"Board(s) :\\n- Wing 70L\\n- Von roll 90\\nPump Magic HD 95\\n\\nFoil(s) :\\n- Marlin S\\n- Barracuda XL\\n-  Barracuda L\\n\\nStab(s) :\\n- Marlin S, M, Condor S Barracuda S\\n\\nMat(s) :\\n- Drive HM 85, 75\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/IMG-20251208-WA0004.jpg\",\"latitude\":\"44.55065670\",\"longitude\":\"6.47702280\"},{\"id\":\"12\",\"nom_prenom\":\"Antoine\",\"adresse\":\"Bd Robert Barrier\",\"ville\":\"Aix Les bains\",\"code_postal\":\"73100\",\"liste_materiel\":\"Board(s) :\\n- Pump Magic 83 HD\\n\\nFoil(s) :\\n- Barracuda XL\\n- Barracuda L\\n\\nFuselage(s) :\\n- Queue XS\\\/XXS\\n\\nMat(s) : \\n- Drive 75 HM\",\"photo_url\":null,\"latitude\":\"45.69847500\",\"longitude\":\"5.88691200\"},{\"id\":\"13\",\"nom_prenom\":\"Vince\",\"adresse\":\"683-655 Bd du Lac\",\"ville\":\"Le Bourget-du-Lac\",\"code_postal\":\"73370\",\"liste_materiel\":\"Board(s) :\\n- Magic Pump 83 HD\\n\\nFoil(s) :\\n- Condor XL, M\\n\\nStab(s) :\\n- Condor XS, S, M, \\n- Barracuda S\\n\\nMat(s) :\\n- HM85\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/vincent_raffault_portrait.png\",\"latitude\":\"45.65986050\",\"longitude\":\"5.85859270\"},{\"id\":\"14\",\"nom_prenom\":\"St\\u00e9phane\",\"adresse\":\"227-139 Rue du Colonel Bachetta\",\"ville\":\"Viviers-du-lac\",\"code_postal\":\"73420\",\"liste_materiel\":\"Board :\\nPump Carbon 83, 95 cm\\n\\nFoils :\\nBarracuda XL\\nCondor M\\n\\nStabs :\\nMarlin S, Condor M\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Stephane-Gay.jpeg\",\"latitude\":\"45.65272750\",\"longitude\":\"5.89260260\"},{\"id\":\"15\",\"nom_prenom\":\"Steven\",\"adresse\":\"4 All. Max Jacob\",\"ville\":\"Betton\",\"code_postal\":\"35830\",\"liste_materiel\":\"Board(s) :\\n- Pump Carbone 83\\n\\nFoil(s) :\\n\\nFuselage(s) :\\n\\nMats :\",\"photo_url\":null,\"latitude\":\"48.17850100\",\"longitude\":\"-1.63963660\"},{\"id\":\"20\",\"nom_prenom\":\"J\\u00e9rome\",\"adresse\":\"ham sur le moulin\",\"ville\":\"grande Rivi\\u00e8re Ch\\u00e2teau\",\"code_postal\":\"39150\",\"liste_materiel\":\"Board(s) :\\n- 3'7 Le doigt\\n- Hydroskate 98\\n- Pump Carbone 83\\n- 4'0 Le Doigt\\n\\nFoil(s) :\\n- Barracuda L, M\\n- Marlin M\\n- Condor XL\\n- HP : 1050X-AR, 1320XAR, 1396 P (=Manta XL)\\nStab : Barracuda S, Condor M\\n\\nFuselage(s) :\\n- Queue XS\\\/S, M\\\/S\\n- Alu HD 610\\n\\nMats : \\n- HM85, Alu 75cm\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/jerome_badux.png\",\"latitude\":\"46.52311600\",\"longitude\":\"5.90624340\"},{\"id\":\"21\",\"nom_prenom\":\"Irwin\",\"adresse\":\"736 av de la baie des iles\",\"ville\":\"La Londe les maures\",\"code_postal\":\"83250\",\"liste_materiel\":\"Board(s) :\\n- G-Pro 63L\\n- Wave 4'4 36 L\\n- Pump Magic HD 83\\n\\nFoil(s) :\\n- Barracuda XL, L+, L, M\\n\\nMat(s) :\\n- Mat Lighning 86cm\\n- Mat UHM 76cm\\n- Mat Drive 75cm\\n\\nStabs \\\/ Fuselages :\\n- Queue M\\\/S - XS\\\/XXS\\n- Condor S, Barracuda S, M, L\",\"photo_url\":\"https:\\\/\\\/www.foilenvie.fr\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Irwin.jpg\",\"latitude\":\"43.11652200\",\"longitude\":\"6.24071520\"}];\n            var currentInfoWindow = null;\n            \n            function initMap() {\n                var map = new google.maps.Map(document.getElementById('poi-map'), {\n                    center: {lat: 48.8566, lng: 2.3522},\n                    zoom: 5\n                });\n                \n                \/\/ Fermer l'infoWindow quand on clique sur la carte\n                map.addListener('click', function() {\n                    if (currentInfoWindow) {\n                        currentInfoWindow.close();\n                        currentInfoWindow = null;\n                    }\n                });\n                \n                poiLocations.forEach(function(location) {\n                    var marker = new google.maps.Marker({\n                        position: {lat: parseFloat(location.latitude), lng: parseFloat(location.longitude)},\n                        map: map,\n                        title: location.nom_prenom\n                    });\n                    \n                    \/\/ Construire le contenu de l'infoWindow avec ou sans photo\n                    var infoContent = '<div style=\"padding: 10px; min-width: 150px;\">';\n                    \n                    \/\/ Ajouter la photo si elle existe (3cm = environ 113px \u00e0 96 DPI)\n                    if (location.photo_url) {\n                        infoContent += '<img decoding=\"async\" src=\"' + location.photo_url + '\" style=\"width: 113px; height: 113px; object-fit: cover; border-radius: 4px; display: block; margin: 0 auto 10px;\">';\n                    }\n                    \n                    infoContent += '<strong>' + location.nom_prenom + '<\/strong><br>' + \n                                   '<strong>Mat\u00e9riel:<\/strong><br>' + location.liste_materiel.replace(\/\\n\/g, '<br>') + \n                                   '<\/div>';\n                    \n                    var infoWindow = new google.maps.InfoWindow({\n                        content: infoContent\n                    });\n                    \n                    \/\/ Hover (desktop uniquement)\n                    marker.addListener('mouseover', function() {\n                        \/\/ Fermer l'infoWindow pr\u00e9c\u00e9dente si elle existe\n                        if (currentInfoWindow && currentInfoWindow !== infoWindow) {\n                            currentInfoWindow.close();\n                        }\n                        infoWindow.open(map, marker);\n                        currentInfoWindow = infoWindow;\n                    });\n                    \n                    marker.addListener('mouseout', function() {\n                        \/\/ Ne fermer que si ce n'est pas l'infoWindow actuellement \"cliqu\u00e9e\"\n                        \/\/ On ne fait rien ici pour permettre le clic de maintenir l'affichage\n                    });\n                    \n                    \/\/ Click (tous les appareils)\n                    marker.addListener('click', function(e) {\n                        \/\/ Emp\u00eacher la propagation du clic vers la carte\n                        e.stop();\n                        \n                        \/\/ Fermer l'infoWindow pr\u00e9c\u00e9dente si diff\u00e9rente\n                        if (currentInfoWindow && currentInfoWindow !== infoWindow) {\n                            currentInfoWindow.close();\n                        }\n                        \n                        \/\/ Ouvrir ou fermer la fen\u00eatre actuelle\n                        if (currentInfoWindow === infoWindow && infoWindow.getMap()) {\n                            infoWindow.close();\n                            currentInfoWindow = null;\n                        } else {\n                            infoWindow.open(map, marker);\n                            currentInfoWindow = infoWindow;\n                        }\n                    });\n                });\n            }\n            \n            if (document.readyState === 'loading') {\n                document.addEventListener('DOMContentLoaded', initMap);\n            } else {\n                initMap();\n            }\n        <\/script>\n        \n","protected":false},"excerpt":{"rendered":"<p>Trouvez en un coup d&rsquo;oeil si un ambassadeur Indiana se trouve pr\u00e8s de chez vous et quel mat\u00e9riel il peut vous faire tester !<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"footnotes":""},"categories":[257],"tags":[],"class_list":["post-6421","post","type-post","status-publish","format-standard","hentry","category-choix-du-materiel"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/posts\/6421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/comments?post=6421"}],"version-history":[{"count":0,"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/posts\/6421\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/media?parent=6421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/categories?post=6421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.foilenvie.fr\/en\/wp-json\/wp\/v2\/tags?post=6421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}