';
var titlePlacemark2 = "ДУОиО 'Мармелад'";
var latlng2 = new google.maps.LatLng(49.048109406066345, 37.55457401275583);
var contentString2 = "";
contentString2 = '
' +
'
'+
'ДУОиО 'Мармелад''+
'
'+
'
'+
'
'+Convert_Latitude_Decimal2DMS(49.048109406066345)+'
'+
'
'+Convert_Longitude_Decimal2DMS(37.55457401275583)+'
'+
'
'+
'
'+
'
'+
'
';
var marker2 = new MarkerWithLabel({
position: latlng2,
map: map,
icon: icoIcon + "mapiconscollection-friends-family-daycare.png",
draggable: false,
title:"ДУОиО 'Мармелад'"
});
marker2.set("zhgmRating", 0);
marker2.set("zhgmPlacemarkID", 2);
marker2.set("zhgmContactAttrs", userContactAttrs);
marker2.set("zhgmUserContact", "1");
marker2.set("zhgmUserUser", "0");
marker2.set("zhgmOriginalPosition", latlng2);
marker2.set("zhgmInfowinContent", contentString2);
marker2.set("zhgmTitle", "ДУОиО 'Мармелад'");
marker2.set("zhgmIncludeInList", 1);
google.maps.event.addListener(marker2, 'click', function(event) {
infowindow.close();
for (i = 0; i < infobubblemarkers.length; i++) {
infobubblemarkers[i].close();
}
hoverinfowindow.close();
infowindow.set("zhgmPlacemarkTitle", titlePlacemark2);
infowindow.set("zhgmPlacemarkOriginalPosition", this.get("zhgmOriginalPosition"));
infowindow.setContent(this.get("zhgmInfowinContent"));
infowindow.setPosition(this.getPosition());
infowindow.open(map);
});
zhgmObjMgr.PlacemarkAdd(1, 2, marker2, null);
var titlePlacemark1 = "ДУОиО Шоколад";
var latlng1 = new google.maps.LatLng(49.05024518312158, 37.54277229309082);
var contentString1 = "";
contentString1 = '
' +
'
'+
'ДУОиО Шоколад'+
'
'+
'
'+
'
'+Convert_Latitude_Decimal2DMS(49.05024518312158)+'
'+
'
'+Convert_Longitude_Decimal2DMS(37.54277229309082)+'
'+
'
'+
'
'+
''+
'
Детский оздоровительный лагерь "Шоколад"
'+
'
Детский отдых в Святогорье. ООО Галлаор
'+
'
'+
'
'+
'
';
var imageUrl1 = 'http://chart.googleapis.com/chart?';
var markerImage1 = { url: imageUrl1};
var marker1 = new google.maps.Marker({
position: latlng1,
map: map,
icon: icoIcon + "mapiconscollection-health-education-daycare.png",
animation: google.maps.Animation.DROP,
draggable: false,
title:"ДУОиО Шоколад"
});
marker1.set("zhgmRating", 0);
marker1.set("zhgmPlacemarkID", 1);
marker1.set("zhgmContactAttrs", userContactAttrs);
marker1.set("zhgmUserContact", "1");
marker1.set("zhgmUserUser", "0");
marker1.set("zhgmOriginalPosition", latlng1);
marker1.set("zhgmInfowinContent", contentString1);
marker1.set("zhgmTitle", "ДУОиО Шоколад");
marker1.set("zhgmIncludeInList", 1);
google.maps.event.addListener(marker1, 'click', function(event) {
infowindow.close();
for (i = 0; i < infobubblemarkers.length; i++) {
infobubblemarkers[i].close();
}
hoverinfowindow.close();
infowindow.set("zhgmPlacemarkTitle", titlePlacemark1);
infowindow.set("zhgmPlacemarkOriginalPosition", this.get("zhgmOriginalPosition"));
infowindow.setContent(this.get("zhgmInfowinContent"));
infowindow.setPosition(this.getPosition());
infowindow.open(map);
});
zhgmObjMgr.PlacemarkAdd(1, 1, marker1, null);
infowindow.close();
infowindow.setPosition(latlng1);
google.maps.event.trigger(marker1, "click");
var mapcenterControl = new zhgmMapCenterButtonControl(latlng,"13",map,2,2,2,"mapcenter","Начальная позиция",19,16,"http://gallaor.com.ua/administrator/components/com_zhgooglemap/assets/utils/home.png");
google.maps.event.addListenerOnce(map, 'idle', function(event) {
});
var toShowLoading = document.getElementById("GMapsLoading");
toShowLoading.style.display = 'none';
zhgmObjMgr.InitializeByGroupState();
};
function PlacemarkByIDShow(p_id, p_action, p_zoom) {
alert("This feature is supported only when you enable it in map menu item or module property!");
}
function showPlacemarkPanorama(p_width, p_height, p_pov) {
PlacemarkShowPanorama(map, infowindow, p_width, p_height, p_pov, "");
};
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}
addLoadEvent(initialize);
/*]]>*/