25 kwi 2013

Proste dodawanie markera

var position = new google.maps.LatLng(lat,lng);
var markerOptions = {
position:position,
// draggable:true,
map:map,
title:'Tytuł'
};
var marker = new google.maps.Marker(markerOptions);