diff --git a/classes/GeoCode.php b/classes/GeoCode.php index 7d5fa4c..836caa1 100644 --- a/classes/GeoCode.php +++ b/classes/GeoCode.php @@ -68,7 +68,7 @@ public static function getCoordinates($strAddress, $strCountry = 'de', $strLang if ($strAddress) { - $arrCoords = self::getInstance()->geoCode($strAddress, null, $strLang, $strCountry); + $arrCoords = self::getInstance()->geoCode($strAddress, null, $strLang, $strCountry, null, $key); if ($arrCoords) { @@ -275,4 +275,4 @@ public function callbackCoordinates() return self::getCoordinates($strAddress, $strCountry, $strLang); } -} \ No newline at end of file +}