Lid |
|
In je code doe je de optie myOptions.
Als je met die Zoom wat probeert zou het het moeten werken. Heb het zojuist even in mijn eigen site getest.
Mijn code ziet er zo uit :
<script type="text/javascript">
function initialize() {
var myLatlng = new google.maps.LatLng(53.18865, 6.54725);
var myOptions = {
zoom: 14,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
var image = '../images/logo_google.png';
var myLatLng = new google.maps.LatLng(53.18865, 6.54725);
var CTAMarker = new google.maps.Marker({
position: myLatLng,
map: map,
title:"CleanTech Alliantie",
icon: image
});
}
</script>
<script type="text/javascript"> function initialize() { var myLatlng = new google.maps.LatLng(53.18865, 6.54725); var myOptions = { zoom: 14, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var image = '../images/logo_google.png'; var myLatLng = new google.maps.LatLng(53.18865, 6.54725); var CTAMarker = new google.maps.Marker({ position: myLatLng, map: map, title:"CleanTech Alliantie", icon: image }); } </script>
|