http://amedica.eu/kontakt
- Kod: Zaznacz wszystko
{{include file='../tpl_common/top.tpl'}}
<div class="white sub-pad">
<div class="container contact simple-content sub-margin">
<div id="map-canvas"></div>
<script src="https://maps.googleapis.com/maps/api/js"></script>
<script>
function initialize() {
var mapCanvas = document.getElementById('map-canvas');
var mapOptions = {
center: new google.maps.LatLng(52.134193, 20.8012),
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(mapCanvas, mapOptions)
var myLatlng = new google.maps.LatLng(52.134193, 20.8012);
var mapOptions = {
zoom: 15,
scrollwheel: true,
draggable : false,
center: myLatlng
}
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
// To add the marker to the map, use the 'map' property
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title:"Sport gas"
});
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<div class="contact-content">
<div class="header">
<h1 class="font-granat">{{$page->name}}</h1>
</div>
<p>{{eval var=$pagesDB->getContent(909)}}</p>
</div>
</div>
</div>
{{include file='../tpl_common/footer.tpl'}}
Mogę to jakoś naprawić, czy muszę przerobić stronę i dodać mapę np. w treści?