From a16ea634cccc3c65e854356e2ef30ad310eb400d Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Fri, 11 Aug 2017 11:43:38 -0700 Subject: [PATCH] fix geocoder in static map --- p3k/geo/StaticMap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/p3k/geo/StaticMap.php b/p3k/geo/StaticMap.php index ec4918f..c295d7b 100644 --- a/p3k/geo/StaticMap.php +++ b/p3k/geo/StaticMap.php @@ -1,6 +1,6 @@ success) { + $result = Geocoder::geocode($properties['location']); + if(!$result) { #header('X-Marker-' . ($i+1) . ': error geocoding location "' . $properties['location'] . '"'); continue; }