diff --git a/src/staticMapLite.php b/src/staticMapLite.php index 567b7f8..64cc7f5 100644 --- a/src/staticMapLite.php +++ b/src/staticMapLite.php @@ -267,12 +267,10 @@ class staticMapLite foreach ($this->polylines as $polyline) { // set some local variables $polylineString = $polyline['polyline']; - $colorRed = $polyline['Red']; + $colorRed = $polyline['colorRed']; $colorGreen = $polyline['colorGreen']; $colorBlue = $polyline['colorBlue']; - // clear variables from previous loops - $polylineList = \Polyline::decode($polylineString); $sourceLatitude = null; @@ -281,6 +279,8 @@ class staticMapLite $destinationLongitude = null; $color = imagecolorallocate($this->image, $colorRed, $colorGreen, $colorBlue); + imagesetthickness($this->image, 3); + //imageantialias($this->image, true); while (!empty($polylineList)) { if (!$sourceLatitude) { diff --git a/web/info.php b/web/info.php new file mode 100644 index 0000000..c42d5a3 --- /dev/null +++ b/web/info.php @@ -0,0 +1,7 @@ +