Skip to content

Instantly share code, notes, and snippets.

@kylewest
Last active February 19, 2016 22:29
Show Gist options
  • Save kylewest/67e1c6bab74880377de8 to your computer and use it in GitHub Desktop.
Save kylewest/67e1c6bab74880377de8 to your computer and use it in GitHub Desktop.
<div class="column mcb-column one column_map ">
<script>
function google_maps_56c792bbd2c7a() {
var latlng = new google.maps.LatLng(42.24, -83.44);
var draggable = true;
var myOptions = {
zoom: 6,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
styles: [{
"featureType": "water",
"elementType": "geometry.fill",
"stylers": [{
"color": "#d3d3d3"
}]
}, {
"featureType": "transit",
"stylers": [{
"color": "#808080"
}, {
"visibility": "off"
}]
}, {
"featureType": "road.highway",
"elementType": "geometry.stroke",
"stylers": [{
"visibility": "on"
}, {
"color": "#b3b3b3"
}]
}, {
"featureType": "road.highway",
"elementType": "geometry.fill",
"stylers": [{
"color": "#ffffff"
}]
}, {
"featureType": "road.local",
"elementType": "geometry.fill",
"stylers": [{
"visibility": "on"
}, {
"color": "#ffffff"
}, {
"weight": 1.8
}]
}, {
"featureType": "road.local",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#d7d7d7"
}]
}, {
"featureType": "poi",
"elementType": "geometry.fill",
"stylers": [{
"visibility": "on"
}, {
"color": "#ebebeb"
}]
}, {
"featureType": "administrative",
"elementType": "geometry",
"stylers": [{
"color": "#a7a7a7"
}]
}, {
"featureType": "road.arterial",
"elementType": "geometry.fill",
"stylers": [{
"color": "#ffffff"
}]
}, {
"featureType": "road.arterial",
"elementType": "geometry.fill",
"stylers": [{
"color": "#ffffff"
}]
}, {
"featureType": "landscape",
"elementType": "geometry.fill",
"stylers": [{
"visibility": "on"
}, {
"color": "#efefef"
}]
}, {
"featureType": "road",
"elementType": "labels.text.fill",
"stylers": [{
"color": "#696969"
}]
}, {
"featureType": "administrative",
"elementType": "labels.text.fill",
"stylers": [{
"visibility": "on"
}, {
"color": "#737373"
}]
}, {
"featureType": "poi",
"elementType": "labels.icon",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "poi",
"elementType": "labels",
"stylers": [{
"visibility": "off"
}]
}, {
"featureType": "road.arterial",
"elementType": "geometry.stroke",
"stylers": [{
"color": "#d6d6d6"
}]
}, {
"featureType": "road",
"elementType": "labels.icon",
"stylers": [{
"visibility": "off"
}]
}, {}, {
"featureType": "poi",
"elementType": "geometry.fill",
"stylers": [{
"color": "#dadada"
}]
}],
draggable: draggable,
zoomControl: true,
mapTypeControl: false,
streetViewControl: false,
scrollwheel: false
};
var map = new google.maps.Map(document.getElementById("google-map-area-56c792bbd2c7a"), myOptions);
var marker = new google.maps.Marker({
position: latlng,
icon: "http://exedy.wpengine.com/wp-content/uploads/2015/06/exedy_favicon_55.png",
map: map
});
var marker = new google.maps.Marker({
position: new google.maps.LatLng(32.8210259,-80.0405171),
icon: "http://exedy.wpengine.com/wp-content/uploads/2015/06/exedy_favicon_55.png",
map: map
});
}
jQuery(document).ready(function($) {
google_maps_56c792bbd2c7a();
});
</script>
<div class="google-map-wrapper no_border">
<div class="google-map-contact-wrapper">
<div class="get_in_touch">
<h3>CONTACT US</h3>
<div class="get_in_touch_wrapper">
<ul>
<li class="address"><span class="icon"><i class="icon-location"></i></span><span class="address_wrapper">EXEDY Global Parts<br>
8601 Haggerty Rd South<br>
Belleville, MI 48111 USA</span></li>
<li class="phone"><span class="icon"><i class="icon-phone"></i></span>
<p><a href="tel:TollFree:(800)346-6091<br>Local:(734)397-3333<br>Fax:(734)397-7300">Toll Free: (800) 346-6091 <br>Local: (734) 397-3333 <br>Fax: (734) 397-7300</a></p>
</li>
<li class="mail"><span class="icon"><i class="icon-mail"></i></span>
<p><a href="mailto:info@exedyusa.com">info@exedyusa.com</a></p>
</li>
</ul>
</div>
</div>
</div>
<div class="google-map" id="google-map-area-56c792bbd2c7a" style="width:100%; height:500px;">&nbsp;</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment