I’m trying to implement a google map in a simple article, but I only get the code of mossmap like this:
{mosmap width=’500’|height=’400’|lat=’52.052312’|lon=’4.447141’| zoom=’3’|zoomType=’Large’|zoomNew=’0’|mapType=’Satellite’|showMaptype=’1’| overview=’0’|text=’sv DWO’|tooltip=’DWO’|marker=’1’| align=’center’}
I have tryed to test next code I get in the forum for other template:
Adding in joomla root index.php
JPluginHelper::importPlugin(‘content’);
$tmp_row->text = JResponse::getBody();
$tmp_params = new JParameter(null);
$mainframe->triggerEvent(‘onMap’, array( &$tmp_row, &$tmp_params ), true );
JResponse::setBody($tmp_row->text);
after
// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark(‘afterRender’) : null;
$mainframe->triggerEvent(‘onAfterRender’);
But does not work
Thanks