- Posts: 2
- Thank you received: 0
map doesent display
- Puyol
- Topic Author
- Offline
- New Member
Less
More
11 years 6 months ago #1956
by Puyol
map doesent display was created by Puyol
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!
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!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
11 years 6 months ago #1957
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic map doesent display
Remove email address from description of the map.
If you haven't it (email in map desription or title) - give me direct link to your page with map.
If you haven't it (email in map desription or title) - give me direct link to your page with map.
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- Puyol
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
11 years 6 months ago #1958
by Puyol
Replied by Puyol on topic map doesent display [SOLVED]
Plugin named "system-RokBox" caused this error. Just unpublish it and this great map will work again! Of course Rokbox2 wont work after this, but i´ll send them message about this bug.
Thanks Dmitry!
Thanks Dmitry!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
11 years 6 months ago #1959
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic map doesent display [SOLVED]
Thank you too.
There were a few posts about like the same problem, but we found and fixed that by emails, and because of it there was not solving posts in forum.
There were a few posts about like the same problem, but we found and fixed that by emails, and because of it there was not solving posts in forum.
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
Time to create page: 0.222 seconds