diff --git a/local/modules/ColissimoPickupPoint/templates/frontOffice/default/colissimo-pickup-point.html b/local/modules/ColissimoPickupPoint/templates/frontOffice/default/colissimo-pickup-point.html
index e70228f0..1e6ec7a3 100644
--- a/local/modules/ColissimoPickupPoint/templates/frontOffice/default/colissimo-pickup-point.html
+++ b/local/modules/ColissimoPickupPoint/templates/frontOffice/default/colissimo-pickup-point.html
@@ -54,7 +54,8 @@
// Define MAP
var mapOptions = {
zoom: 13,
- mapTypeId: google.maps.MapTypeId.ROADMAP
+ mapTypeId: google.maps.MapTypeId.ROADMAP,
+ mapId: "COLISSIMO_MAP_ID"
}
// On va créer la map dans la div qui a l'id relaymap
mapSOC.map = new google.maps.Map(document.getElementById('colissimopickuppointmap'), mapOptions);
@@ -71,11 +72,12 @@
if (status == google.maps.GeocoderStatus.OK) {
// Et on centre la map sur cette position
mapSOC.map.setCenter(results[0].geometry.location);
- marker = new google.maps.Marker({
+ marker = new google.maps.marker.AdvancedMarkerElement({
position: new google.maps.LatLng(results[0].geometry.location.lat(), results[0].geometry.location.lng()),
- map: mapSOC.map,
- icon: "{image file='assets/img/maison.png' source='ColissimoPickupPoint'}"
+ map: mapSOC.map/*,
+ icon: "{image file='assets/img/maison.png' source='ColissimoPickupPoint'}"*/
});
+
if (mapSOC.position != null){
mapSOC.position.setMap(null);
}
@@ -145,10 +147,11 @@
'' +
'';
- marker = new google.maps.Marker({
+ marker = new google.maps.marker.AdvancedMarkerElement({
position: new google.maps.LatLng(loc.lat, loc.lng),
- map: mapSOC.map,
+ map: mapSOC.map/*,
icon: mapSOC.images[loc.type]
+ */
});
mapSOC.listMarker.push(marker);
@@ -397,11 +400,8 @@
-
-
-
{/ifloop}
@@ -412,20 +412,52 @@
diff --git a/templates/frontOffice/capbretagne/order-delivery.html b/templates/frontOffice/capbretagne/order-delivery.html
index bb12f6ea..03fd0bea 100644
--- a/templates/frontOffice/capbretagne/order-delivery.html
+++ b/templates/frontOffice/capbretagne/order-delivery.html
@@ -151,6 +151,16 @@
{block name="javascript-initialization"}
+
+
+