Adding custom Google map code to page

Permalink
How do I add code like this to a page considering its a mix of JavaScript and html?

Source:
https://developers.google.com/maps/documentation/javascript/examples...

++++++++++++

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script>
var map;
function initialize() {
var mapOptions = {
zoom: 8,
center: new google.maps.LatLng(-34.397, 150.644),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map-canvas'),
mapOptions);
}

google.maps.event.addDomListener(window, 'load', initialize);

</script>
</head>

<body>
<div id="map-canvas"></div>
</body>

 
jvansanten replied on at Permalink Reply
You could try the Google Map block in the standard install and just enter the address.

The HTML block might also work, but I haven't tried it.
DAkers replied on at Permalink Reply
Using the HTML block will work fine in this case.