From 497b4eee30638489efaa90c3c56883c46bdfdbb8 Mon Sep 17 00:00:00 2001 From: magicsepp Date: Thu, 12 Jun 2014 20:39:54 +0200 Subject: [PATCH] Update Googlemap.php supporting inserttags for the kml-url f.e. {{env::path}}files/example.kml --- classes/Googlemap.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/Googlemap.php b/classes/Googlemap.php index 0321d6e..3cb104c 100644 --- a/classes/Googlemap.php +++ b/classes/Googlemap.php @@ -246,6 +246,9 @@ protected function getElementData($intMap, $intCount, $arrElement) $arrElement['staticMapPart'] = ''; + //supporting insertags + $arrElement['kmlUrl'] = $this->replaceInsertTags($arrElement['kmlUrl'],false); + switch($arrElement['type']) { case 'MARKER': if($arrElement['markerType'] == 'ICON') { @@ -350,4 +353,4 @@ public static function cssInjection() } } -} \ No newline at end of file +}