This commit is contained in:
Malte Hübner 2017-09-30 18:51:39 +02:00
parent 9a262047dd
commit 1b37a93193
1 changed files with 12 additions and 3 deletions

View File

@ -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()