25 lines
671 B
HTML
25 lines
671 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
html, body, #map-canvas { height: 100%; margin: 0; padding: 0;}
|
|
</style>
|
|
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js">
|
|
</script>
|
|
<script type="text/javascript">
|
|
function initialize() {
|
|
var mapOptions = {
|
|
center: { lat: {{ lat }}, lng: {{ lng }}},
|
|
zoom: 8
|
|
};
|
|
var 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>
|
|
</html>
|