'+ coord[4] +'...
', }); // ADD TO ALL MARKERS ARRAY AllMarkers.push(marker); var myOptions = { content: document.createElement("div"), boxClass: "mybox", closeBoxURL: "", pixelOffset: new google.maps.Size(-10, -220), pane: "floatPane", enableEventPropagation: true }; infoBox = new InfoBox(myOptions); google.maps.event.addListener(marker, 'mouseover', function() { }); google.maps.event.addListener(marker, 'mouseout', function() { }); google.maps.event.addListener(marker, 'click', function() { infoBox.setContent(this.info); infoBox.open(map, this); }); })(coords[i]); }; if(coords.length != 0){ map.fitBounds (bounds); } var listener = google.maps.event.addListener(map, "idle", function() { if (map.getZoom() != 6){ map.setZoom(6); } google.maps.event.removeListener(listener); }); }, 1000); }); function getZipLocation(location){ } function zoomItemMarker(postid){ var catmarkers = AllMarkers; //map.setZoom(12); jQuery(catmarkers).each(function(id, marker) { if(marker.id == postid+"_item"){ map.setZoom(12); map.panTo(marker.position); setTimeout(function() { google.maps.event.trigger(marker, 'click'); }, 1000); } }); }
feminin
4 b> Artikel gefunden