diff --git a/content/themes/ldc/partials/map.php b/content/themes/ldc/partials/map.php index 15ec17da..323a7bcf 100644 --- a/content/themes/ldc/partials/map.php +++ b/content/themes/ldc/partials/map.php @@ -49,7 +49,7 @@ global $wpdb; position: relative; background-color: white; padding: 10px; - width: 350px; + width: 280px; float:left; } .pin-list { @@ -415,11 +415,13 @@ $(window).resize(function() { ]; if(window.matchMedia("(min-width: 769px)").matches){ - center = {lat: 46.121, lng: -4.675392}; - zoom = 6; + //center = {lat: 46.121, lng: -4.675392}; + center = {lat: 47.888, lng: 2.644}; + //47.888005, 2.644068 + zoom = 5; google.maps.event.trigger(map, "resize"); } else { - zoom = 5; + zoom = 4; center = {lat: 49.132846, lng: 1.625977}; google.maps.event.trigger(map, "resize"); }