Hi there,
im using joomla 2.5.11 rocketthemes modulus template and zh googlemap 4.1.3.1 component and plugin 4.0.4.0
Everything was fine before some updates i made recently. i updated joomla, zh googlemap and few other components and after that zh google map gives me this in frontpage:
'+ '
'; var marker = new google.maps.Marker({ position: latlng, animation: google.maps.Animation.BOUNCE, title:"Jäsenet tarjoavat" }); google.maps.event.addListener(marker, 'click', function(event) { infowindowcom_content_article_842_0_1_map.setContent(contentString); infowindowcom_content_article_842_0_1_map.setPosition(latlng); infowindowcom_content_article_842_0_1_map.open(mapcom_content_article_842_0_1_map); }); clustermarkers0.push(marker); markerCluster0 = new MarkerClusterer(mapcom_content_article_842_0_1_map, [], { maxZoom: 12}); var userContactAttrs = 'name,position,address,phone,mobile,fax,email'; var geocoder = new google.maps.Geocoder(); for (var i=0; iOpenStreetMap'; function ShowPlacemarkInformation(responseObject, markerObject){ if (responseObject.dataexists == 1) { var map = markerObject.getMap(); var actionbyclick = parseInt(responseObject.actionbyclick); var zoombyclick = parseInt(responseObject.zoombyclick); if (actionbyclick == 0) { if (zoombyclick != 100) { map.setCenter(markerObject.getPosition()); map.setZoom(zoombyclick); } } else if (actionbyclick == 1) { if (zoombyclick != 100) { map.setCenter(markerObject.getPosition()); map.setZoom(zoombyclick); } infowindowcom_content_article_842_0_1_map.close(); for (i = 0; i '+ '
'; infowindowcom_content_article_842_0_1_map.close(); infowindowcom_content_article_842_0_1_map.setContent(contentStringStreetView); infowindowcom_content_article_842_0_1_map.open(mapcom_content_article_842_0_1_map); var infowindowpanorama = new google.maps.StreetViewPanorama(document.getElementById("contentStringStreetViewcom_content_article_842_0_1_map"), { navigationControl: true, enableCloseButton: false, addressControl: false, linksControl: false } ); infowindowpanorama.setPosition(infowindowcom_content_article_842_0_1_map.getPosition()); if (p_pov != "") { infowindowpanorama.setPov(p_pov); } var infowindowListenterHandle = google.maps.event.addListener(infowindowcom_content_article_842_0_1_map, 'domready', function() { google.maps.event.trigger(infowindowpanorama, 'resize'); google.maps.event.removeListener(infowindowListenterHandle); }); }; function setRouteDestinationcom_content_article_842_0_1_map(p_direction) { routedirectioncom_content_article_842_0_1_map = p_direction; routedestinationcom_content_article_842_0_1_map = infowindowcom_content_article_842_0_1_map.getPosition(); var cur_panel = document.getElementById("GMapFindPanelIconcom_content_article_842_0_1_map"); var cur_target = document.getElementById("GMapFindTargetIconcom_content_article_842_0_1_map"); var cur_target_text = document.getElementById("GMapFindTargetTextcom_content_article_842_0_1_map"); cur_target_text.innerHTML = ''+infowindowcom_content_article_842_0_1_map.get("zhgmPlacemarkTitle")+''; if (routedirectioncom_content_article_842_0_1_map == 1) { cur_panel.innerHTML = ''; cur_target.innerHTML = ''; } else { cur_panel.innerHTML = ''; cur_target.innerHTML = ''; } }; function setRouteDestinationChangecom_content_article_842_0_1_map() { if (routedirectioncom_content_article_842_0_1_map == 0) { setRouteDestinationcom_content_article_842_0_1_map(1); } else { setRouteDestinationcom_content_article_842_0_1_map(0); } }; function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } function initializePLG() { initializecom_content_article_842_0_1_map(); }; addLoadEvent(initializePLG); /*]]>*/
I have tried unistall zh googlemaps plugin and component, reinstall them and even installed older version from component, but it still gives me that code!
Help me please!