Skrypt do mapy google

Witajcie, poszukuję skryptu, który “zrobiłyby” mi taką mapę google jak na poniższej stronie. :wink: :wink:

http://www.klinikadermex.pl/kontakt/

Z góry dzięki

Znalazłem coś takiego:

http://maps.google.com.br/help/maps/getmaps/compare.html

https://developers.google.com/maps/documentation/javascript/examples/map-simple

Jeśli korzystać chcesz z Wordpressa to jest trochę templatek które posiadają takie funkcje w swoich opcjach.

Coś podobne jest tutaj: http://myjnia-tirow.pl/

Ooo to chyba jest to. Dzięki!

Teraz nie wiem jak dodać znaczniki do mapy. Mam taki kod:

var map;


function initialize() {


  // Create an array of styles.

  var styles = [

    {

	  featureType: "all",

      stylers: [

	    { lightness: -50 },

        { saturation: -90 }

      ]

	},

	];


  // Create a new StyledMapType object, passing it the array of styles,

  // as well as the name to be displayed on the map type control.

  var styledMap = new google.maps.StyledMapType(styles,

    {name: "Styled Map"});


  // Create a map object, and include the MapTypeId to add

  // to the map type control.

  var mapOptions = {

    zoom: 8,

    center: new google.maps.LatLng(52.268157, 21.019134),

    mapTypeControlOptions: {

      mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'map_style']

    }

  };


  var map = new google.maps.Map(document.getElementById('map-canvas'),

    mapOptions);


  //Associate the styled map with the MapTypeId and set it to display.

  map.mapTypes.set('map_style', styledMap);

  map.setMapTypeId('map_style');

}






google.maps.event.addDomListener(window, 'load', initialize);