Kontakt

 

function initializeMap(mapId, options) { var settings = { zoom: 17, mapTypeControl: true, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, navigationControl: true, navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: true, draggable: true }; jQuery.extend(settings,options); return(new google.maps.Map(document.getElementById(mapId), settings)); } function addMarker(options) { new google.maps.Marker(options); } $(document).ready(function() { mapGorzow = initializeMap('mapGorzow',{center: new google.maps.LatLng(52.734024, 15.250611)} ); addMarker({map: mapGorzow, position: new google.maps.LatLng(52.734024, 15.250611)}); });

Powrót »