On remplace l'appel à l'API Google Maps par une simple image : le client est roi...
This commit is contained in:
BIN
www/template/img/google-map.jpg
Normal file
BIN
www/template/img/google-map.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
@@ -26,17 +26,11 @@
|
||||
|
||||
#INCLURE "template/header.html"
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="pane pane--left" data-pane="left">
|
||||
<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">
|
||||
|
||||
<!-- Google Map -->
|
||||
|
||||
|
||||
</div>
|
||||
<!-- <div class="bg-vid gmap" style="background-image: url(#FICHIER)" data-address="3 rue Saint-Charles 75015 Paris">-->
|
||||
<!-- </div>-->
|
||||
<img src="template/img/google-map.jpg" style="">
|
||||
</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({
|
||||
marker: {
|
||||
address: maplocation,
|
||||
options: {
|
||||
icon: "template/img/map-pin.png"
|
||||
}
|
||||
},
|
||||
map:{
|
||||
options:{
|
||||
zoom: 17,
|
||||
zoomControl: true,
|
||||
mapTypeControl: false,
|
||||
scaleControl: false,
|
||||
scrollwheel: false,
|
||||
navigationControl: true,
|
||||
streetViewControl: false,
|
||||
draggable: true,
|
||||
styles: [
|
||||
{
|
||||
"featureType":"all",
|
||||
"elementType":"all",
|
||||
"stylers":[
|
||||
{ "saturation":"-70" }
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<!--$(document).ready( function(){-->
|
||||
<!--initGmap();-->
|
||||
<!--function initGmap(){-->
|
||||
<!--var maplocation = $(".gmap").attr("data-address");-->
|
||||
<!--jQuery(".gmap").gmap3({-->
|
||||
<!--marker: {-->
|
||||
<!--address: maplocation,-->
|
||||
<!--options: {-->
|
||||
<!--icon: "template/img/map-pin.png"-->
|
||||
<!--}-->
|
||||
<!--},-->
|
||||
<!--map:{-->
|
||||
<!--options:{-->
|
||||
<!--zoom: 17,-->
|
||||
<!--zoomControl: true,-->
|
||||
<!--mapTypeControl: false,-->
|
||||
<!--scaleControl: false,-->
|
||||
<!--scrollwheel: false,-->
|
||||
<!--navigationControl: true,-->
|
||||
<!--streetViewControl: false,-->
|
||||
<!--draggable: true,-->
|
||||
<!--styles: [-->
|
||||
<!--{-->
|
||||
<!--"featureType":"all",-->
|
||||
<!--"elementType":"all",-->
|
||||
<!--"stylers":[-->
|
||||
<!--{ "saturation":"-70" }-->
|
||||
<!--]-->
|
||||
<!--}]-->
|
||||
<!--}-->
|
||||
<!--}-->
|
||||
<!--});-->
|
||||
<!--}-->
|
||||
<!--});-->
|
||||
<!--</script>-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user