From 1b37a93193ac8f392184b9d7e2a811b433a4abbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20Hu=CC=88bner?= Date: Sat, 30 Sep 2017 18:51:39 +0200 Subject: [PATCH] WIP. --- src/Printer.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/Printer.php b/src/Printer.php index 7cf89d0..e26765e 100644 --- a/src/Printer.php +++ b/src/Printer.php @@ -210,9 +210,18 @@ class Printer { $this->initCoords(); $this->createBaseMap(); - if (count($this->markers)) $this->placeMarkers(); - if (count($this->polylines)) $this->placePolylines(); - if ($this->osmLogo) $this->copyrightNotice(); + + if (count($this->polylines)) { + $this->placePolylines(); + } + + if (count($this->markers)) { + $this->placeMarkers(); + } + + if ($this->osmLogo) { + $this->copyrightNotice(); + } } public function showMap()