Skip to content

Instantly share code, notes, and snippets.

@redhog
Created October 23, 2014 14:07
Show Gist options
  • Select an option

  • Save redhog/2fde19d987dd148f8ecd to your computer and use it in GitHub Desktop.

Select an option

Save redhog/2fde19d987dd148f8ecd to your computer and use it in GitHub Desktop.
Test GME problem
<!doctype html>
<html>
<head>
<title>VectorVisual</title>
<style>
body {
padding: 0;
}
</style>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=visualization&amp;sensor=false&amp"></script>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
mapOptions = {
mapTypeId: google.maps.MapTypeId.ROADMAP,
styles: [
{
featureType: 'poi',
stylers: [{visibility: 'off'}],
}
],
zoom: 1,
center: {lat: 0, lng: 0}
};
map = new google.maps.Map($("#map")[0], mapOptions);
layer = new google.maps.visualization.DynamicMapsEngineLayer({layerId:'06136759344167181854-09935479668386854128', suppressInfoWindows:false});
layer.setMap(map);
});
</script>
</head>
<body class="claro">
<div id="map" style="width: 100%; height: 100%; position: absolute;"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment