/************************************************* * Created with GoogleMapAPI3.0beta * Author: Brad Wedell * Link http://code.google.com/p/phpgooglemapapiv3/ * Copyright 2010 Brad Wedell * Original Author: Monte Ohrt * Original Copyright 2005-2006 New Digital Group * Originial Link http://www.phpinsider.com/php/code/GoogleMapAPI/ *************************************************/ var markersmap_recherche=[];var markerClusterermap_recherche=null;var to_htmlsmap_recherche=[];var from_htmlsmap_recherche=[];var iconmap_recherche=[];iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png']={};iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image=new google.maps.MarkerImage('https://www.gitedegroupe.fr/img/logo_carte_23.png',new google.maps.Size(22,25),new google.maps.Point(0,0),new google.maps.Point(11,12));var mapmap_recherche=null;function onLoadmap_recherche(){var mapObjmap_recherche=document.getElementById("map_recherche");if(mapObjmap_recherche!='undefined'&&mapObjmap_recherche!=null){var mapOptionsmap_recherche={scrollwheel:false,zoom:10,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:true,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DEFAULT}};mapOptionsmap_recherche.center=new google.maps.LatLng(45.684900,1.673018);mapmap_recherche=new google.maps.Map(mapObjmap_recherche,mapOptionsmap_recherche);var bdsmap_recherche=new google.maps.LatLngBounds(new google.maps.LatLng(44.963964,0.94023675),new google.maps.LatLng(46.405836,2.40579825));mapmap_recherche.fitBounds(bdsmap_recherche);var point=new google.maps.LatLng(45.0163,2.0068);markersmap_recherche.push(createMarker(mapmap_recherche,point,"FERME EQUESTRE DE MIALARET","
<\/a><\/td>

FERME EQUESTRE DE MIALARET<\/strong>

20 Couchages
19430 - CAMPS ST MATHURIN<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_0"]));var point=new google.maps.LatLng(46.0576,1.23533);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Domaine de Chasseneuil","

<\/a><\/td>

Domaine de Chasseneuil<\/strong>

53 Couchages
87140 - St SYMPHORIEN SUR COUZE<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_1"]));var point=new google.maps.LatLng(45.4457,1.40401);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Le Domaine de Laleu","

<\/a><\/td>

Le Domaine de Laleu<\/strong>

30 Couchages
19210 - Lubersac<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_2"]));var point=new google.maps.LatLng(45.8838,1.80533);markersmap_recherche.push(createMarker(mapmap_recherche,point,"La Vaupeline","

<\/a><\/td>

La Vaupeline<\/strong>

25 Couchages
23400 - Saint Pardoux Morterolles<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_3"]));var point=new google.maps.LatLng(45.3965,2.29733);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Groupe - Club - Famille et WEI jusqu'à 250p","

<\/a><\/td>

Groupe - Club - Famille et WEI jusqu'à 250p<\/strong>

250 Couchages
19160 - Liginiac<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_4"]));var point=new google.maps.LatLng(45.7875,1.46977);markersmap_recherche.push(createMarker(mapmap_recherche,point,"La Maison du Berger","

<\/a><\/td>

La Maison du Berger<\/strong>

26 Couchages
87400 - La GENEYTOUSE<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_5"]));var point=new google.maps.LatLng(45.3815,2.27111);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gite du Vent Haut","

<\/a><\/td>

Gite du Vent Haut<\/strong>

70 Couchages
19160 - Neuvic<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_6"]));var point=new google.maps.LatLng(44.9781,1.84039);markersmap_recherche.push(createMarker(mapmap_recherche,point,"L'Espérance","

<\/a><\/td>

L'Espérance<\/strong>

27 Couchages
19120 - SIONIAC - BEAULIEU sur DORDOGNE<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_7"]));var point=new google.maps.LatLng(46.0266,1.32193);markersmap_recherche.push(createMarker(mapmap_recherche,point,"le Moulin d'Aiguemarde","

<\/a><\/td>

le Moulin d'Aiguemarde<\/strong>

30 Couchages
87640 - Razés<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_8"]));var point=new google.maps.LatLng(45.0816,2.00134);markersmap_recherche.push(createMarker(mapmap_recherche,point,"GITE DE LA CHENAIE","

<\/a><\/td>

GITE DE LA CHENAIE<\/strong>

39 Couchages
19400 - HAUTEFAGE<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_9"]));var point=new google.maps.LatLng(46.341,1.13416);markersmap_recherche.push(createMarker(mapmap_recherche,point,"CHÂTEAU DOMAINE DU FAN","

<\/a><\/td>

CHÂTEAU DOMAINE DU FAN<\/strong>

120 Couchages
87360 - Verneuil-Moustiers<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_10"]));var point=new google.maps.LatLng(46.0725,1.27271);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gite de Vauguenige","

<\/a><\/td>

Gite de Vauguenige<\/strong>

19 Couchages
87250 - SAINT PARDOUX<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_11"]));var point=new google.maps.LatLng(45.0831,1.90271);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gite du Chassang","

<\/a><\/td>

Gite du Chassang<\/strong>

15 Couchages
19400 - Monceaux su dordogne<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_12"]));var point=new google.maps.LatLng(45.4036,2.28094);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LES CHALETS DU BORD DU LAC","

<\/a><\/td>

LES CHALETS DU BORD DU LAC<\/strong>

36 Couchages
19160 - Neuvic<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_13"]));var point=new google.maps.LatLng(45.3475,1.38531);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Le Clos des Pommiers","

<\/a><\/td>

Le Clos des Pommiers<\/strong>

28 Couchages
19130 - LASCAUX<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_14"]));var point=new google.maps.LatLng(46.1497,1.04336);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Domaine de la Basse Marche","

<\/a><\/td>

Domaine de la Basse Marche<\/strong>

75 Couchages
87300 - Peyrat de Bellac<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_15"]));var point=new google.maps.LatLng(45.409,1.91749);markersmap_recherche.push(createMarker(mapmap_recherche,point,"L'odyssée des sens","

<\/a><\/td>

L'odyssée des sens<\/strong>

40 Couchages
19800 - SARRAN<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_16"]));var point=new google.maps.LatLng(46.2294,2.07868);markersmap_recherche.push(createMarker(mapmap_recherche,point,"La Coterie Lodges","

<\/a><\/td>

La Coterie Lodges<\/strong>

18 Couchages
23140 - Blaudeix<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_17"]));var point=new google.maps.LatLng(45.5834,1.72044);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Village d+ Les roches de scoeux","

<\/a><\/td>

Village d+ Les roches de scoeux<\/strong>

422 Couchages
19370 - Chamberet<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_18"]));var point=new google.maps.LatLng(46.0306,2.39143);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Village de Gîtes L'Etang des Portes","

<\/a><\/td>

Village de Gîtes L'Etang des Portes<\/strong>

70 Couchages
23700 - Mainsat<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_19"]));var point=new google.maps.LatLng(46.2007,1.18942);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Hameau de Gîtes des Pouyades","

<\/a><\/td>

Hameau de Gîtes des Pouyades<\/strong>

93 Couchages
87190 - Magnac-Laval<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_20"]));var point=new google.maps.LatLng(45.4151,1.50092);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Domaine du Grand Brugeron","

<\/a><\/td>

Domaine du Grand Brugeron<\/strong>

39 Couchages
19410 - Vigeois<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_21"]));var point=new google.maps.LatLng(46.2604,1.86408);markersmap_recherche.push(createMarker(mapmap_recherche,point,"GITES DE PUY CHAILLAUX","

<\/a><\/td>

GITES DE PUY CHAILLAUX<\/strong>

32 Couchages
23000 - Anzême<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_22"]));var point=new google.maps.LatLng(46.0178,2.28264);markersmap_recherche.push(createMarker(mapmap_recherche,point,"DOMAINE DU 20 MALLETEIX ","

<\/a><\/td>

DOMAINE DU 20 MALLETEIX <\/strong>

20 Couchages
23190 - Champagnat<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_23"]));var point=new google.maps.LatLng(46.1497,1.04336);markersmap_recherche.push(createMarker(mapmap_recherche,point,"la Victorine","

<\/a><\/td>

la Victorine<\/strong>

23 Couchages
87300 - Peyrat de Bellac<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_24"]));var point=new google.maps.LatLng(45.7763,0.954605);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Domaine de Feuillade","

<\/a><\/td>

Domaine de Feuillade<\/strong>

27 Couchages
87310 - Saint-Laurent-sur-Gorre<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_25"]));var point=new google.maps.LatLng(45.9673,0.987821);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gite Le Pic","

<\/a><\/td>

Gite Le Pic<\/strong>

15 Couchages
87520 - Javerdat<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_26"]));var point=new google.maps.LatLng(46.0555,1.74554);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Meadow View Gîtes - Grande gîte Janaillat","

<\/a><\/td>

Meadow View Gîtes - Grande gîte Janaillat<\/strong>

22 Couchages
23250 - Janaillat<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_27"]));var point=new google.maps.LatLng(46.1092,1.84324);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Ecrin Du Breuil","

<\/a><\/td>

Ecrin Du Breuil<\/strong>

37 Couchages
23000 - La Chapelle-Taillefert<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_28"]));var point=new google.maps.LatLng(45.404,1.90119);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Ancienne Ecole de Rouffiat","

<\/a><\/td>

Ancienne Ecole de Rouffiat<\/strong>

15 Couchages
19800 - Sarran<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_29"]));var point=new google.maps.LatLng(46.3917,2.17775);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Domaine des Capucins","

<\/a><\/td>

Domaine des Capucins<\/strong>

20 Couchages
23600 - Bussière-Saint-Georges<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_30"]));var point=new google.maps.LatLng(45.0535,1.58142);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Kamea Club La Gironie","

<\/a><\/td>

Kamea Club La Gironie<\/strong>

78 Couchages
19500 - Turenne<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_31"]));var point=new google.maps.LatLng(45.2219,1.33247);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Domaine Leyvinie","

<\/a><\/td>

Domaine Leyvinie<\/strong>

31 Couchages
19310 - Perpezac-le-Blanc<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_32"]));var point=new google.maps.LatLng(46.1497,1.04336);markersmap_recherche.push(createMarker(mapmap_recherche,point,"le Clos de Pépé Jean","

<\/a><\/td>

le Clos de Pépé Jean<\/strong>

37 Couchages
87300 - Peyrat de Bellac<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_33"]));markerClusterermap_recherche=new MarkerClusterer(mapmap_recherche,markersmap_recherche,{maxZoom:null,gridSize:30,styles:null});}} var currentinfowindow=null;function createMarker(map,point,title,html,icon,icon_shadow,sidebar_id,openers){var marker_options={position:point,map:map,title:title,disableAutoPan:true};if(icon!=''){marker_options.icon=icon;} if(icon_shadow!=''){marker_options.icon_shadow=icon_shadow;} var new_marker=new google.maps.Marker(marker_options);if(html!=''){var infowindow=new google.maps.InfoWindow({content:html});google.maps.event.addListener(new_marker,'click',function(){if(currentinfowindow)currentinfowindow.close();currentinfowindow=infowindow;infowindow.open(map,new_marker);});if(sidebar_id!=''){var sidebar=document.getElementById(sidebar_id);if(sidebar!=null&&sidebar!=undefined){var newlink=document.createElement('a');newlink.onclick=function(){infowindow.open(map,new_marker);return false};newlink.innerHTML=title;sidebar.appendChild(newlink);}} if(openers!=''&&!isEmpty(openers)){for(var i in openers){var opener=document.getElementById(openers[i]);if(opener) opener.onclick=function(){if(currentinfowindow)currentinfowindow.close();currentinfowindow=infowindow;infowindow.open(map,new_marker);return false};}}} return new_marker;} function isArray(a){return isObject(a)&&a.constructor==Array;} function isObject(a){return(a&&typeof a=='object')||isFunction(a);} function isFunction(a){return typeof a=='function';} function isEmpty(obj){for(var i in obj){return false;}return true;} window.initmap = false; window.onLoadmap = onLoadmap_recherche; $(document).ready(function() { window.$map = $("#map_recherche"); // onglets bootstrap var tab = $('a[data-toggle="tab"]'); if(tab.length) tab.on('shown.bs.tab', function (e) { if(!window.initmap) window.onLoadmap(); window.initmap = true; }); else onLoadmap_recherche(); google.maps.event.addDomListener(window, "resize", function() { google.maps.event.trigger($map[0], "resize"); }); }); $(function() { /* attach a submit handler to the form */ $("#searchForm").submit(function(event) { /* stop form from submitting normally */ event.preventDefault(); /* get some values from elements on the page: */ var $form = $( this ); /* Send the data using post and put the results in a div */ $.post( "recherche_results.php", $form.serialize(), function( data ) { var content = $( data ); $( "#results" ).fadeOut('slow').empty().append( content ).fadeIn("slow"); } ); /* Send the data using post and put the results in a div */ $.post( "recherche_map.php", $form.serialize(), function( data ) { $( "#map" ).fadeOut('slow').empty().append( '

' ).fadeIn("slow"); var content = $( data ); eval(content.text()); window.$map = $("#map_recherche"); window.onLoadmap = onLoadmap_recherche; if($map.is(":visible")) onLoadmap_recherche(); else window.initmap = false; } ); $("#various3").attr('href','map.php?'+$("#searchForm").serialize()); }); });