@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | public function addMarkerByAddress($address, $content = '', $category = '', $icon = '') { |
| 477 | 477 | $point = $this->geocoding($address); |
| 478 | 478 | error_log('POINT'); |
| 479 | - error_log(print_r($point,1)); |
|
| 479 | + error_log(print_r($point, 1)); |
|
| 480 | 480 | if ($point !== null) { |
| 481 | 481 | $this->addMarkerByCoords($point['lat'], $point['lon'], $content, $category, $icon); |
| 482 | 482 | } |
@@ -636,7 +636,7 @@ discard block |
||
| 636 | 636 | $this->latLongCenter : $this->geocoding($this->center); |
| 637 | 637 | |
| 638 | 638 | // coordinates for centre depending on which method used |
| 639 | - if (isset($geocodeCentre['geocoded'] )) { |
|
| 639 | + if (isset($geocodeCentre['geocoded'])) { |
|
| 640 | 640 | $latlngCentre = array( |
| 641 | 641 | 'lat' => $geocodeCentre['lat'], |
| 642 | 642 | 'lng' => $geocodeCentre['lon'] |
@@ -381,14 +381,14 @@ |
||
| 381 | 381 | public function testAddLine() { |
| 382 | 382 | $map = $this->getMap(); |
| 383 | 383 | $map->addLine( |
| 384 | - array(13,101), |
|
| 384 | + array(13, 101), |
|
| 385 | 385 | array(13.2, 101.4), |
| 386 | 386 | '#F32' |
| 387 | 387 | ); |
| 388 | 388 | |
| 389 | 389 | $map->addLine( |
| 390 | 390 | array(13.2, 101.4), |
| 391 | - array(14.2,99.8) |
|
| 391 | + array(14.2, 99.8) |
|
| 392 | 392 | ); |
| 393 | 393 | |
| 394 | 394 | $html = $map->forTemplate(); |