@@ -1,10 +1,10 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2015 Petr Olišar (http://olisar.eu) |
|
4 | - * |
|
5 | - * For the full copyright and license information, please view |
|
6 | - * the file LICENSE.md that was distributed with this source code. |
|
7 | - */ |
|
3 | + * Copyright (c) 2015 Petr Olišar (http://olisar.eu) |
|
4 | + * |
|
5 | + * For the full copyright and license information, please view |
|
6 | + * the file LICENSE.md that was distributed with this source code. |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Oli\GoogleAPI; |
10 | 10 | |
@@ -335,8 +335,8 @@ discard block |
||
335 | 335 | |
336 | 336 | |
337 | 337 | /** |
338 | - * @see Nette\Application\Control#render() |
|
339 | - */ |
|
338 | + * @see Nette\Application\Control#render() |
|
339 | + */ |
|
340 | 340 | public function render() |
341 | 341 | { |
342 | 342 | if ($this->staticMap) |
@@ -351,16 +351,16 @@ discard block |
||
351 | 351 | } else |
352 | 352 | { |
353 | 353 | $map = array( |
354 | - 'position' => $this->coordinates, |
|
355 | - 'height' => $this->height, |
|
356 | - 'width' => $this->width, |
|
357 | - 'zoom' => $this->zoom, |
|
358 | - 'type' => $this->type, |
|
359 | - 'scrollable' => $this->scrollable, |
|
360 | - 'key' => $this->key, |
|
361 | - 'bound' => $this->bound, |
|
362 | - 'cluster' => $this->markerClusterer, |
|
363 | - 'waypoint' => !is_null($this->waypoints) ? array_merge($this->waypoints, $this->direction) : NULL |
|
354 | + 'position' => $this->coordinates, |
|
355 | + 'height' => $this->height, |
|
356 | + 'width' => $this->width, |
|
357 | + 'zoom' => $this->zoom, |
|
358 | + 'type' => $this->type, |
|
359 | + 'scrollable' => $this->scrollable, |
|
360 | + 'key' => $this->key, |
|
361 | + 'bound' => $this->bound, |
|
362 | + 'cluster' => $this->markerClusterer, |
|
363 | + 'waypoint' => !is_null($this->waypoints) ? array_merge($this->waypoints, $this->direction) : NULL |
|
364 | 364 | ); |
365 | 365 | $this->template->map = \Nette\Utils\Json::encode($map); |
366 | 366 | $this->template->setFile(dirname(__FILE__) . '/template.latte'); |