/*----------------------------------------------
	File:		google_maps.js
	Author:		Google Maps
	Date:		03/2011
----------------------------------------------*/

var long = 52.49798;
var lat = 13.324;
function initialize() {
var mapOptions = {

zoom: 17,

center: new google.maps.LatLng(long, lat),

mapTypeId: google.maps.MapTypeId.HYBRID, // SATELLITE, ROADMAP, HYBRID, TERRAIN
// tilt: 45, // not yet available for Berlin

mapTypeControl: true,

mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
position: google.maps.ControlPosition.TOP
},

streetViewControl: false, // default: true

navigationControl: true,

navigationControlOptions: {
style: google.maps.NavigationControlStyle.ZOOM_PAN,
position: google.maps.ControlPosition.TOP_RIGHT
},

scaleControl: true,
scaleControlOptions: {
position: google.maps.ControlPosition.BOTTOM_RIGHT
},

overviewMapControl: false,
overviewMapControlOptions: {  
opened: true,
position: google.maps.ControlPosition.BOTTOM_RIGHT // not yet supported  
}
 
}
var map = new google.maps.Map(document.getElementById("map"), mapOptions);
var image = 'img/map_marker.png'; // 'http://code.google.com/intl/de-DE/apis/maps/documentation/javascript/examples/images/beachflag.png';

// set main marker
var mapLatLng = new google.maps.LatLng(long, lat);
var beachMarker = new google.maps.Marker({
position: mapLatLng,
map: map,
icon: image
});
// map.setCenter(beachMarker);

}
