On remplace l'appel à l'API Google Maps par une simple image : le client est roi...

This commit is contained in:
2020-11-03 09:03:20 +01:00
parent 38229aac4b
commit 27fb92d46e
2 changed files with 41 additions and 52 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -26,17 +26,11 @@
#INCLURE "template/header.html" #INCLURE "template/header.html"
<div class="pane pane--left" data-pane="left"> <div class="pane pane--left" data-pane="left">
<div class="pane__inner pane-header pane-header--about"> <div class="pane__inner pane-header pane-header--about">
<div class="bg-vid gmap" style="background-image: url(#FICHIER)" data-address="3 rue Saint-Charles 75015 Paris"> <!-- <div class="bg-vid gmap" style="background-image: url(#FICHIER)" data-address="3 rue Saint-Charles 75015 Paris">-->
<!-- </div>-->
<!-- Google Map --> <img src="template/img/google-map.jpg" style="">
</div>
</div> </div>
</div> </div>
@@ -176,51 +170,46 @@ var response = grecaptcha.getResponse();
<!--<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=AIzaSyALU_RxhZsMoCOu4AEebd6QxoLGBa-kq9k"></script>--> <!--<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=AIzaSyAkr2nRW4omYz4xCD0-DQdHPilpPO6T8u0"></script>-->
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=AIzaSyAkr2nRW4omYz4xCD0-DQdHPilpPO6T8u0"></script> <!--<script src="template/js/gmap3.js"></script>-->
<script src="template/js/gmap3.js"></script> <!--<script type="text/javascript">-->
<script type="text/javascript"> <!--$(document).ready( function(){-->
<!--initGmap();-->
<!--function initGmap(){-->
<!--var maplocation = $(".gmap").attr("data-address");-->
<!--jQuery(".gmap").gmap3({-->
$(document).ready( function(){ <!--marker: {-->
initGmap(); <!--address: maplocation,-->
function initGmap(){ <!--options: {-->
var maplocation = $(".gmap").attr("data-address"); <!--icon: "template/img/map-pin.png"-->
jQuery(".gmap").gmap3({ <!--}-->
marker: { <!--},-->
address: maplocation, <!--map:{-->
options: { <!--options:{-->
icon: "template/img/map-pin.png" <!--zoom: 17,-->
} <!--zoomControl: true,-->
}, <!--mapTypeControl: false,-->
map:{ <!--scaleControl: false,-->
options:{ <!--scrollwheel: false,-->
zoom: 17, <!--navigationControl: true,-->
zoomControl: true, <!--streetViewControl: false,-->
mapTypeControl: false, <!--draggable: true,-->
scaleControl: false, <!--styles: [-->
scrollwheel: false, <!--{-->
navigationControl: true, <!--"featureType":"all",-->
streetViewControl: false, <!--"elementType":"all",-->
draggable: true, <!--"stylers":[-->
styles: [ <!--{ "saturation":"-70" }-->
{ <!--]-->
"featureType":"all", <!--}]-->
"elementType":"all", <!--}-->
"stylers":[ <!--}-->
{ "saturation":"-70" } <!--});-->
] <!--}-->
}] <!--});-->
} <!--</script>-->
}
});
}
});
</script>
</body> </body>
</html> </html>