The Joomla! Extensions Directory ™

fakker

Reviews(1)
 
byfakker, April 26, 2009
...but it doesn't work for me. The editor button seems to work properly, but after i insert the map into the article, only a "Google Map" text appears in the editor. After i save the article, and view the page, only a text like this appears on the page:

"Google Map
function initializeGoogleMap(){ if (GBrowserIsCompatible()) { var gmap = document.getElementById('gmap'); var map = new GMap( gmap, { mapTypes: G_DEFAULT_MAP_TYPES, size: new GSize(400, 300) } ); map.setCenter( new GLatLng( 46.86770273172814, 18.10546875), 7); map.enableDragging(); map.disableScrollWheelZoom(); var control; } } GEvent.addDomListener(window, 'load', initializeGoogleMap); GEvent.addDomListener(window, 'unload', GUnload); "
System: clear Joomla 1.5.10 stable ver., wampserver
Owner's reply

Please setup the article and content editor parameters correctly or the insert javascript will be black listed from the saved article.