diff --git a/README.MD b/README.MD index cc13b89..11c0991 100644 --- a/README.MD +++ b/README.MD @@ -58,7 +58,7 @@ Phoca Maps Plugin is a Joomla! plugin. With Phoca Maps Plugin you can display on ## Version -3.0.9 +3.0.10 diff --git a/content-phocamaps-release.png b/content-phocamaps-release.png index ee2eed9..585cfed 100644 Binary files a/content-phocamaps-release.png and b/content-phocamaps-release.png differ diff --git a/manifest.xml b/manifest.xml index bcfa28c..c7fed25 100644 --- a/manifest.xml +++ b/manifest.xml @@ -5,10 +5,10 @@ phocamaps content plugin - 3.0.9 - https://www.phoca.cz/ + 3.0.10 + https://www.phoca.cz/ - https://github.com/PhocaCz/PhocaMapsPlugin/releases/download/3.0.9/plg_content_phocamaps_v3.0.9.zip + https://github.com/PhocaCz/PhocaMapsPlugin/releases/download/3.0.10/plg_content_phocamaps_v3.0.10.zip stable diff --git a/phocamaps.php b/phocamaps.php index 0b115b8..b2fea06 100644 --- a/phocamaps.php +++ b/phocamaps.php @@ -499,6 +499,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) { } } + $output .= $map->setMarkerClusterer(); } if ($tmpl['load_kml']) { @@ -606,6 +607,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) { $iM++; } } + $map->setMarkerClusterer(); } $map->renderFullScreenControl(); @@ -741,7 +743,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) { $output .= ''.$text.''; } else if ($tmpl['detailwindow'] == 2) { - + // Bootstrap Modal $item = 'phPlgMapsModalDetail' . $this->_plgPhocaMapsNr; Joomla\CMS\HTML\HTMLHelper::_('jquery.framework', false); @@ -768,9 +770,9 @@ public function onContentPrepare($context, &$article, &$params, $page = 0) { });'; $document->addScriptDeclaration($s); - + $output .= ''.$text.''; - + $output .= '