\n\t\t\t\t<\/div>","center":{"type":"client","lat":"48.44391499999999","lng":"1.487991999999963","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":"0","type":"","show":"","panel":"0","label":""},"cluster":{"actif":""},"id":545};eGmap.pois={"poi":[{"title":"\u00c9cole Paul-Fort","uid":"488","lat":"48.446569100000005","lng":"1.4824958000000379","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Maurice-Vlaminck","uid":"489","lat":"48.4419921","lng":"1.487878300000034","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Fran\u00e7ois-Villon","uid":"490","lat":"48.445522800000006","lng":"1.4921798999999965","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Jules-Ferry I et II","uid":"491","lat":"48.4363175","lng":"1.481896900000038","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Abbayes de Saint-Brice \u2013 Salle 2","uid":"492","lat":"48.4353577","lng":"1.4954685000000154","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Gymnase Aubry","uid":"494","lat":"48.449265365025326","lng":"1.4923923502624348","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"MPT de Rech\u00e8vres \u00ab La Cit\u00e9 \u00bb","uid":"495","lat":"48.45552311707812","lng":"1.4804111883605628","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Espace Charlie-Chaplin","uid":"496","lat":"48.439470299999996","lng":"1.5070560000000341","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Henri-Farman","uid":"497","lat":"48.447975799999995","lng":"1.5089958999999453","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"MPT de la Madeleine \u2013 Salles 9a et 9b","uid":"498","lat":"48.44732457904053","lng":"1.5182621018524287","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Jacques-Pr\u00e9vert I et II","uid":"500","lat":"48.4494511","lng":"1.5222638999999845","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Henri-Matisse","uid":"501","lat":"48.4583914","lng":"1.4955065000000332","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Centre de loisirs des Bas-Menus","uid":"502","lat":"48.45657255431363","lng":"1.4638365729468887","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"MPT des Hauts-de-Chartres","uid":"503","lat":"48.442958399999995","lng":"1.5106967000000395","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Le Grand Jardin I et II","uid":"504","lat":"48.4404337","lng":"1.4791046999999935","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole de la Br\u00e8che","uid":"506","lat":"48.452700899999996","lng":"1.4893380999999408","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Maurice-Car\u00eame","uid":"508","lat":"48.44393939999999","lng":"1.5191582999999582","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"\u00c9cole Henri-IV","uid":"693","lat":"48.43791319999999","lng":"1.5112315999999737","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Centre technique municipal","uid":"694","lat":"48.43241215","lng":"1.510536849999994","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/administration-general-batiment.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"45,46"},{"title":"R.C.B.C.","uid":"695","lat":"48.4390354","lng":"1.5175396","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/cuisine-centrale_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"48"},{"title":"Police municipale","uid":"696","lat":"48.4425611","lng":"1.4862211","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/administration-general-batiment.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"45"},{"title":"Guichet unique","uid":"697","lat":"48.4432725","lng":"1.4854824","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/administration-general-batiment.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"45"},{"title":"H\u00f4tel Montescot","uid":"698","lat":"48.443875312993214","lng":"1.4890925799011079","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/administration-general-batiment.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"45"},{"title":"H\u00f4tel de Ville","uid":"1712","lat":"48.443988","lng":"1.489074","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"MPT Saint-Ch\u00e9ron","uid":"1743","lat":"48.4472152","lng":"1.5071700999999393","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"H\u00f4tel des Cordeliers","uid":"1745","lat":"48.44433629321283","lng":"1.4902863153442922","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"MPT des Comtesses","uid":"1747","lat":"48.434724337652185","lng":"1.485125914400669","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Espace G\u00e9rard-Philipe","uid":"1748","lat":"48.44680199999999","lng":"1.486902500000042","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Maison de l'horticulture","uid":"1749","lat":"48.458005183164005","lng":"1.4881947267670057","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"R\u00e9sidence Silvia-Monfort","uid":"1751","lat":"48.44307903835963","lng":"1.482451694967608","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/bureau_vote_03.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"46"},{"title":"Cimeti\u00e8re communale","uid":"1759","lat":"48.44593478484804","lng":"1.4998502037047956","picto":"fileadmin\/plugin\/tx_dcdgooglemap\/cimetiere.png","type":"Poi","table":"tx_egmap_domain_model_poi","cats":"47"}]};eGmap.kmls={"kml":{"title":"D\u00e9coupage des bureaux de vote de la ville de Chartres","uid":"16","data":"https:\/\/www.chartres.fr\/fileadmin\/user_upload\/demarches-services-informations\/inscription-listes-electorales\/bureaux-vote-decoupage-chartres-01.kml"}};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 - Administrations et démarches