\n\t\t\t\t<\/div>","center":{"type":"auto","lat":"45.77082417601594","lng":"4.811924546957016","poi":""},"zoom":{"actif":"1","value":"13","molette":"","min":"0","max":"0","position":""},"streetview":{"actif":"","position":""},"deplacement":{"actif":"","position":""},"type":{"actif":"","defaut":"","position":""},"recherche":{"actif":"","label":""},"itineraire":{"actif":"","type":"","show":"","panel":"","label":""},"cluster":{"actif":""},"id":453};eGmap.pois={"poi":[{"title":"Jeanne d'Arc","uid":"8","lat":"48.455448","lng":"1.486698","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Lyc\u00e9e Professionnel (Institution Gu\u00e9ry)","uid":"9","lat":"48.441403","lng":"1.496425","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_rouge_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"144"},{"title":"Jean Moulin","uid":"10","lat":"48.446591","lng":"1.485961","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_blue_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"140"},{"title":"H\u00e9l\u00e8ne Boucher","uid":"11","lat":"48.4430284","lng":"1.4854481","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Mathurin R\u00e9gnier","uid":"12","lat":"48.443751","lng":"1.514987","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Victor Hugo","uid":"13","lat":"48.444856","lng":"1.521565","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_blue_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"140"},{"title":"Gu\u00e9ry","uid":"14","lat":"48.447405","lng":"1.485325","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Gu\u00e9ry","uid":"15","lat":"48.44763","lng":"1.485619","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Jean-Paul II","uid":"16","lat":"48.440787","lng":"1.514419","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Jean-Paul II","uid":"17","lat":"48.441056","lng":"1.514269","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Annie Fournier","uid":"18","lat":"48.445773","lng":"1.49127","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Francine Coursaget","uid":"19","lat":"48.450032","lng":"1.489277","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Paul Fort","uid":"20","lat":"48.446679","lng":"1.482232","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Les Cytises","uid":"21","lat":"48.454228","lng":"1.479077","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Le Grand Jardin","uid":"22","lat":"48.440746","lng":"1.478029","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Jules Ferry","uid":"23","lat":"48.436975","lng":"1.482045","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/point2_04.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"50"},{"title":"Les Pierres Couvertes","uid":"24","lat":"48.443656","lng":"1.509735","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Henri Farman","uid":"25","lat":"48.448023","lng":"1.509017","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Emile Zola","uid":"26","lat":"48.443603","lng":"1.519045","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"\u00c9mile Zola","uid":"27","lat":"48.444214","lng":"1.518731","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Pauline Kergomard","uid":"28","lat":"48.448472","lng":"1.522653","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Marie Pape Carpantier","uid":"29","lat":"48.457834","lng":"1.495505","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"La Br\u00e8che","uid":"30","lat":"48.452394","lng":"1.489736","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Fran\u00e7ois Villon","uid":"31","lat":"48.445355","lng":"1.492026","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"George Sand","uid":"32","lat":"48.443468","lng":"1.508886","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Henri Farman","uid":"33","lat":"48.447726","lng":"1.50912","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Henri Matisse","uid":"34","lat":"48.458419","lng":"1.495438","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Jacques Pr\u00e9vert","uid":"35","lat":"48.449051","lng":"1.522813","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Jules Ferry","uid":"36","lat":"48.436512","lng":"1.482273","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Le Grand Jardin","uid":"37","lat":"48.440384","lng":"1.47838","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Maurice Car\u00e8me","uid":"38","lat":"48.444107","lng":"1.519561","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Maurice de Vlaminck","uid":"39","lat":"48.442062","lng":"1.487894","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Rech\u00e8vres","uid":"40","lat":"48.45469","lng":"1.479706","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Notre Dame","uid":"41","lat":"48.450756","lng":"1.493991","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_rose_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"143"},{"title":"Fulbert","uid":"42","lat":"48.445544","lng":"1.508487","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_rose_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"143"},{"title":"Maurice de Vlaminck","uid":"43","lat":"48.458173","lng":"1.471149","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_rouge_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"144"},{"title":"Marceau","uid":"44","lat":"48.442984","lng":"1.493024","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_rose_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"143"},{"title":"Antenne Scientifique Universitaire","uid":"45","lat":"48.435397","lng":"1.486982","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_orange_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"145"},{"title":"IUT (Institut Universitaire de Technologie)","uid":"46","lat":"48.442226","lng":"1.495215","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_orange_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"145"},{"title":"IUFM (Institut Universitaire de formation des ma\u00eftres)","uid":"47","lat":"48.441172","lng":"1.477005","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_orange_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"145"},{"title":"IFSI (Institut de formation de soins infirmiers","uid":"48","lat":"48.439589","lng":"1.480905","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_orange_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"145"},{"title":"CFA Centre de Formation des Apprentits","uid":"49","lat":"48.42968","lng":"1.502647","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_cyan_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"146"},{"title":"CFA (B\u00e2timent & TP)","uid":"50","lat":"48.430963","lng":"1.502709","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_cyan_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"146"},{"title":"AFPA (Ass. Formation Professionnelle Adultes)","uid":"51","lat":"48.440616","lng":"1.516803","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_cyan_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"146"},{"title":"Centre de Formation C.C.I.","uid":"52","lat":"48.45229","lng":"1.527718","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_orange_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"145"},{"title":"Notre Dame","uid":"53","lat":"48.440934","lng":"1.487092","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_blue_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"140"},{"title":"Chambre des M\u00e9tiers & de l'Artisanat","uid":"54","lat":"48.441545","lng":"1.492583","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_cyan_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"146"},{"title":"Jehan de Beauce","uid":"55","lat":"48.456948","lng":"1.470755","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_rose_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"143"},{"title":"Saint Ferdinand","uid":"56","lat":"48.440795","lng":"1.486217","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Saint Jean","uid":"57","lat":"48.450454","lng":"1.480923","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Saint Ferdinand","uid":"58","lat":"48.440707","lng":"1.486639","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Saint Jean","uid":"59","lat":"48.45013","lng":"1.481071","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"},{"title":"Ecole de Droit","uid":"60","lat":"48.435293","lng":"1.487582","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_orange_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"145"},{"title":"Sainte Marie","uid":"61","lat":"48.441457","lng":"1.496605","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_blue_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"140"},{"title":"Henri IV","uid":"715","lat":"48.439038151945","lng":"1.5106415748596191","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_jaune_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"141"},{"title":"Henri IV","uid":"716","lat":"48.43895985732314","lng":"1.5108883380889893","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/sac_vert_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"142"}]};function eGmapLoadMap(){eGmap.map=new google.maps.Map(document.getElementById('eGmapMap'),{center:new google.maps.LatLng(eGmap.conf.center.lat,eGmap.conf.center.lng),zoom:parseInt(eGmap.conf.zoom.value),minZoom:parseInt(eGmap.conf.zoom.min),maxZoom:parseInt(eGmap.conf.zoom.max),scrollwheel:(eGmap.conf.zoom.molette=='0')?!1:!0,draggable:(eGmap.conf.draggable=='0')?!1:!0,zoomControl:(eGmap.conf.zoom.actif=='0')?!1:!0,zoomControlOptions:(eGmap.conf.zoom.position)?{position:google.maps.ControlPosition[eGmap.conf.zoom.position]}:{},streetViewControl:(eGmap.conf.streetview.actif=='0')?!1:!0,streetViewControlOptions:(eGmap.conf.streetview.position)?{position:google.maps.ControlPosition[eGmap.conf.streetview.position]}:{},panControl:(eGmap.conf.deplacement.actif=='0')?!1:!0,panControlOptions:(eGmap.conf.deplacement.position)?{position:google.maps.ControlPosition[eGmap.conf.deplacement.position]}:{},mapTypeControl:(eGmap.conf.type.actif=='0')?!1:!0,mapTypeControlOptions:(eGmap.conf.type.position)?{position:google.maps.ControlPosition[eGmap.conf.type.position]}:{},mapTypeId:(eGmap.conf.type.defaut)?google.maps.MapTypeId[eGmap.conf.type.defaut]:google.maps.MapTypeId.ROADMAP,overviewMapControl:!1,rotateControl:!1,scaleControl:!1,styles:(eGmap.styles)?eGmap.styles:null});eGmapLoadPois();eGmapLoadKmls();eGmapCatInit()}function eGmapLoadKmls(){if(eGmap.kmls&&eGmap.kmls.kml){if(eGmap.kmls.kml.length>0){for(i=0;i0){for(i=0;i0){eGmap.map.setCenter(eGmap.bounds.getCenter())}else{eGmap.map.fitBounds(eGmap.bounds)}}if(eGmap.conf.forcePoi){if(eGmapLoadInfosPoi(eGmap.uidToKey[eGmap.conf.forcePoi],backend,'')){eGmap.map.setCenter(eGmap.marker[eGmap.uidToKey[eGmap.conf.forcePoi]].getPosition())}}}else{eGmapLoadPoi(eGmap.pois.poi,backend);if(eGmapLoadInfosPoi(0,backend,'')){eGmap.map.setCenter(eGmap.marker[0].getPosition())}}}}function eGmapLoadPoi(poi,backend){key=eGmap.marker.length;position=new google.maps.LatLng(poi.lat,poi.lng);eGmap.marker[key]=new google.maps.Marker({position:position,title:poi.title});eGmap.marker[key].key=key;eGmap.marker[key].infopoi=poi;if(poi.cats){eGmap.marker[key].cats=poi.cats.split(',')}else{eGmap.marker[key].cats=new Array}eGmap.marker[key].setMap(eGmap.map);eGmap.uidToKey[poi.table+'_'+poi.uid]=key;if(poi.picto&&poi.picto!=''){eGmap.marker[key].setIcon('/'+poi.picto)}google.maps.event.addListener(eGmap.marker[key],'click',function(){eGmapLoadInfosPoi(this.key,backend,poi.table)});eGmap.bounds.extend(position)}function eGmapLoadInfosPoi(key,backend,table){if(!eGmap.marker[key])return!1;if(eGmap.marker[key].infobubble){eGmap.marker[key].infobubble.close();eGmap.marker[key].infobubble=!1}else{eGmap.marker[key].infobubble=new InfoBubble({minHeight:100,minWidth:110,});eGmap.marker[key].infobubble.setContent(eGmap.conf.loadingInfo);eGmap.marker[key].infobubble.key=key;eGmap.infoZIndex=(eGmap.infoZIndex)?eGmap.infoZIndex+1:6;eGmap.marker[key].infobubble.setZIndex(eGmap.infoZIndex);google.maps.event.addDomListener(eGmap.marker[key].infobubble.bubble_,'click',function(e){eGmap.infoZIndex++;this.style.setProperty('z-index',eGmap.infoZIndex)});google.maps.event.addListener(eGmap.marker[key].infobubble,'closeclick',function(e){eGmap.marker[this.key].infobubble=!1});if(backend==0){jQuery.ajax({type:'POST',dataType:"xml",data:{eID:'eGmapInfoPoi',id:eGmap.conf.id,uid:eGmap.marker[key].infopoi.uid,type:eGmap.marker[key].infopoi.type,key:key},success:function(result){key=jQuery(result).find("key").text();tabs=jQuery(result).find("tab");if(tabs.length>0){jQuery(result).find("tab").each(function(){label=jQuery(this).find("label").text();content=jQuery(this).find("content").text();eGmap.marker[key].infobubble.addTab(label,content)})}else{content=jQuery(result).find("content").html();eGmap.marker[key].infobubble.setContent(content);eGmap.marker[key].infobubble.updateContent_()}eGmap.marker[key].infobubble.open(eGmap.map,eGmap.marker[key]);window.setTimeout(function(){eGmap.marker[key].infobubble.panToView()},100)},error:function(error){console.dir(error);eGmap.marker[key].infobubble.close();eGmap.marker[key].infobubble=!1}})}else{jQuery.ajax({url:settings.ajaxUrls.info_poi_backend,type:'POST',dataType:"xml",data:{id:eGmap.conf.id,uid:eGmap.marker[key].infopoi.uid,type:eGmap.marker[key].infopoi.type,key:key},success:function(result){key=jQuery(result).find("key").text();type=jQuery(result).find("type").text();uid=jQuery(result).find("uid").text();movePoint=jQuery(result).find("movePoint").text();savePoint=jQuery(result).find("savePoint").text();editPoint=jQuery(result).find("editPoint").text();tabs=jQuery(result).find("tab");title=jQuery(result).find("title").text();content=''+title+'
';content+='';content+='';content=''+content+'
';eGmap.marker[key].infobubble.setContent(content);eGmap.marker[key].infobubble.updateContent_();window.setTimeout(function(){editPoi(uid,table,jQuery('#pageId').data('tab'))},100);eGmap.marker[key].infobubble.open(eGmap.map,eGmap.marker[key]);window.setTimeout(function(){eGmap.marker[key].infobubble.panToView()},100)},error:function(error){console.dir(error);eGmap.marker[key].infobubble.close();eGmap.marker[key].infobubble=!1}})}}return!0}google.maps.event.addDomListener(window,'load',eGmapLoadMap);function eGmapWizardSetAdress(){if(eGmap.boundResultMarker){eGmap.geocoder.geocode({'latLng':eGmap.boundResultMarker.getPosition()},function(results,status){if(status==google.maps.GeocoderStatus.OK&&results[0]){jQuery('#eGmapAdress').val(results[0].formatted_address)}})}}function eGmapYAller(lat,lng,adresse){if(eGmap.directionsService){maDestination=new google.maps.LatLng(lat,lng);if(navigator.geolocation){navigator.geolocation.getCurrentPosition(function(position){var type='';type=type?google.maps.TravelMode[type]:null;var maPosition=new google.maps.LatLng(position.coords.latitude,position.coords.longitude);var request={origin:maPosition,destination:maDestination,travelMode:type};eGmap.directionsService.route(request,function(response,status){if(status==google.maps.DirectionsStatus.OK){eGmap.directionsDisplay.setDirections(response)}})})}}destField=jQuery('#eGmapAdress2');if(destField.length){destField.val(adresse)}return!1}function eGmapCatInit(){jQuery('.egmap_cat').click(function(){eGmapCatCheck(this)});jQuery('.egmapcat_kmls').click(function(){eGmapKmlsCheck(this)});eGmapCatCheckAllInit()}function eGmapCatCheck(elem){var infos=jQuery(elem).attr('id').split('_');var idCat=infos[1];var elem=infos[2];var input=jQuery('#egmapcat_'+idCat+'_input');var checked=input.prop('checked');if(elem!='input'){input.prop('checked',!checked)}else{checked=!checked}for(var i=0;i=0){if(checked&&eGmapIsNoLastCat(poi)){eGmapHidePoi(poi)}else{eGmapShowPoi(poi)}}}var childs=jQuery('.egmap_child_'+idCat);if(childs.length){childs.prev().prop('checked',checked);childs.click()}}function eGmapIsNoLastCat(poi){for(var i=0;i ul.cats > li > div input:checkbox').click();thisButton.val(checkAll).removeClass('allchecked').addClass('allunchecked')}else{jQuery('ul.cats input:checkbox').prop('checked',!1);jQuery('div > ul.cats > li > div input:checkbox').click();thisButton.val(uncheckAll).addClass('allchecked').removeClass('allunchecked')}})}function eGmapPoiListeInit(){google.maps.event.addListener(eGmap.map,'bounds_changed',function(e){var mapBounds=eGmap.map.getBounds();for(var i=0;i';eGmap.marker[indexBulle].infobubble.setContent(content);eGmap.marker[indexBulle].infobubble.open();poi_move=!1});movePoiListener=google.maps.event.addListener(eGmap,"click",function(){if(poi_move==!1){undoLatLng(gmarkers[uid],indexBulle,uid);google.maps.event.removeListener(movePoiListener)}});google.maps.event.addListener(eGmap.marker[indexBulle].infobubble,'closeclick',function(e){eGmap.marker[indexBulle].setPosition(initialPosition);eGmap.marker[indexBulle].setAnimation(null);eGmap.marker[indexBulle].setDraggable(!1)})}function updatePoint(uid,key,type,lat,lng){jQuery.ajax({url:settings.ajaxUrls.update_poi,type:'POST',data:{uid:uid,type:type,lat:lat,lng:lng,key:key},success:function(result){eGmap.marker[key].setDraggable(!1);eGmap.marker[key].setAnimation(null);eGmap.marker[key].infobubble.close();google.maps.event.addListener(eGmap.marker[key],'click',function(){eGmapLoadInfosPoi(this.key,1,'')})},error:function(error){console.dir(error)}})}function eGmapSetLocalizedPoi(){if(eGmap.boundResultMarker){eGmap.geocoder.geocode({'latLng':eGmap.boundResultMarker.getPosition()},function(results,status){if(status==google.maps.GeocoderStatus.OK&&results[0]){newPoi(eGmap.boundResultMarker.getPosition().lat(),eGmap.boundResultMarker.getPosition().lng(),results[0].address_components['0'].long_name,results[0].address_components['1'].long_name,results[0].address_components['4'].long_name,results[0].address_components['5'].long_name,jQuery('#pageId').data('tab'))}})}}/*]]>*/Chartres - Enseignement