Hi
I've installed your component and want to use the plugin in an article. I have entered my Goiogle API under settings. When I use this in the article:
{zhgooglemap:1;10}
I get this:
'+ '
'; var marker_com_content_article_176_0_1_map = new google.maps.Marker({ position: latlng_com_content_article_176_0_1_map, title:"Hoptrup Efterskole" }); google.maps.event.addListener(marker_com_content_article_176_0_1_map, 'click', function(event) { infowindow_com_content_article_176_0_1_map.setContent(contentString_com_content_article_176_0_1_map); infowindow_com_content_article_176_0_1_map.setPosition(latlng_com_content_article_176_0_1_map); infowindow_com_content_article_176_0_1_map.open(map_com_content_article_176_0_1_map); }); zhgmObjMgr_com_content_article_176_0_1_map.PlacemarkAdd(0, 0, marker_com_content_article_176_0_1_map, null); google.maps.event.trigger(marker_com_content_article_176_0_1_map, "click"); markerCluster0 = new MarkerClusterer(map_com_content_article_176_0_1_map, [], { maxZoom: 12, imagePath: icoUtils+'m' }); zhgmObjMgr_com_content_article_176_0_1_map.ClusterAdd(0, markerCluster0); google.maps.event.addListenerOnce(map_com_content_article_176_0_1_map, 'idle', function(event) { }); var toShowLoading = document.getElementById("GMapsLoading_com_content_article_176_0_1_map"); toShowLoading.style.display = 'none'; zhgmObjMgr_com_content_article_176_0_1_map.enablePlacemarkClusterization(); zhgmObjMgr_com_content_article_176_0_1_map.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_com_content_article_176_0_1_map(p_width, p_height, p_pov) { PlacemarkShowPanorama(map_com_content_article_176_0_1_map, infowindow_com_content_article_176_0_1_map, p_width, p_height, p_pov, "_com_content_article_176_0_1_map"); }; function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } function initializeZhGMPLG176() { initializecom_content_article_176_0_1_map(); }; addLoadEvent(initializeZhGMPLG176); /*]]>*/
What is wrong here ????