From c03eaf3024bbef1b5daeb4baf936cb86bf5e5ea5 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Mon, 2 Jan 2017 14:31:40 -0800 Subject: [PATCH] set opacity=0 (seems to be different between imagemagick 3.3.0 and 3.4.3) --- p3k/geo/StaticMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p3k/geo/StaticMap.php b/p3k/geo/StaticMap.php index 5e0057c..f53d1db 100644 --- a/p3k/geo/StaticMap.php +++ b/p3k/geo/StaticMap.php @@ -400,7 +400,7 @@ function generate($params, $filename, $assetPath) { $draw->setStrokeColor(new ImagickPixel('#'.$path['color'])); $draw->setStrokeWidth($path['weight']); - $draw->setFillOpacity(1); + $draw->setFillOpacity(0); $draw->setStrokeLineCap(Imagick::LINECAP_ROUND); $draw->setStrokeLineJoin(Imagick::LINEJOIN_ROUND);