@@ -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 | |
@@ -49,11 +49,11 @@ discard block |
||
49 | 49 | |
50 | 50 | |
51 | 51 | /** |
52 | - * @param array $position |
|
53 | - * @param boolean $animation |
|
54 | - * @param String $title |
|
55 | - * @return Markers |
|
56 | - */ |
|
52 | + * @param array $position |
|
53 | + * @param boolean $animation |
|
54 | + * @param String $title |
|
55 | + * @return Markers |
|
56 | + */ |
|
57 | 57 | public function addMarker(array $position, $animation = false, $title = null) |
58 | 58 | { |
59 | 59 | if (!is_string($animation) && !is_bool($animation)) |
@@ -339,8 +339,8 @@ discard block |
||
339 | 339 | |
340 | 340 | |
341 | 341 | /** |
342 | - * @see Nette\Application\Control#render() |
|
343 | - */ |
|
342 | + * @see Nette\Application\Control#render() |
|
343 | + */ |
|
344 | 344 | public function render() |
345 | 345 | { |
346 | 346 | if ($this->staticMap) |
@@ -355,17 +355,17 @@ discard block |
||
355 | 355 | } else |
356 | 356 | { |
357 | 357 | $map = array( |
358 | - 'position' => $this->coordinates, |
|
359 | - 'height' => $this->height, |
|
360 | - 'width' => $this->width, |
|
361 | - 'zoom' => $this->zoom, |
|
362 | - 'type' => $this->type, |
|
363 | - 'scrollable' => $this->scrollable, |
|
364 | - 'key' => $this->key, |
|
365 | - 'bound' => $this->bound, |
|
366 | - 'cluster' => $this->markerClusterer, |
|
367 | - 'clusterOptions' => $this->clusterOptions, |
|
368 | - 'waypoint' => !is_null($this->waypoints) ? array_merge($this->waypoints, $this->direction) : NULL |
|
358 | + 'position' => $this->coordinates, |
|
359 | + 'height' => $this->height, |
|
360 | + 'width' => $this->width, |
|
361 | + 'zoom' => $this->zoom, |
|
362 | + 'type' => $this->type, |
|
363 | + 'scrollable' => $this->scrollable, |
|
364 | + 'key' => $this->key, |
|
365 | + 'bound' => $this->bound, |
|
366 | + 'cluster' => $this->markerClusterer, |
|
367 | + 'clusterOptions' => $this->clusterOptions, |
|
368 | + 'waypoint' => !is_null($this->waypoints) ? array_merge($this->waypoints, $this->direction) : NULL |
|
369 | 369 | ); |
370 | 370 | $this->template->map = \Nette\Utils\Json::encode($map); |
371 | 371 | $this->template->setFile(dirname(__FILE__) . '/template.latte'); |