@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | private $useTileCache = true; |
| 35 | 35 | |
| 36 | - private $tileCacheBaseDir = __DIR__ . '/../../../var/cache2/staticmap'; |
|
| 36 | + private $tileCacheBaseDir = __DIR__ . '/../../../var/cache2/staticmap'; |
|
| 37 | 37 | |
| 38 | 38 | private $zoom = 0; |
| 39 | 39 | |
@@ -70,11 +70,11 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | if (isset($_GET['size']) && !empty($_GET['size'])) { |
| 72 | 72 | list($this->width, $this->height) = explode('x', $_GET['size']); |
| 73 | - $this->width = (int) $this->width; |
|
| 73 | + $this->width = (int)$this->width; |
|
| 74 | 74 | if ($this->width > $this->maxWidth) { |
| 75 | 75 | $this->width = $this->maxWidth; |
| 76 | 76 | } |
| 77 | - $this->height = (int) $this->height; |
|
| 77 | + $this->height = (int)$this->height; |
|
| 78 | 78 | if ($this->height > $this->maxHeight) { |
| 79 | 79 | $this->height = $this->maxHeight; |
| 80 | 80 | } |