@@ -8,12 +8,12 @@ |
||
| 8 | 8 | |
| 9 | 9 | // given millions of possible POIs an index is handy |
| 10 | 10 | private static $indexes = array( |
| 11 | - 'OpenStreetMapID' => true |
|
| 11 | + 'OpenStreetMapID' => true |
|
| 12 | 12 | ); |
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | /* The openstreetmap id is only for scripting purposes */ |
| 16 | - public function updateCMSFields(FieldList $fields) { |
|
| 16 | + public function updateCMSFields(FieldList $fields) { |
|
| 17 | 17 | $fields->removeByName('OpenStreetMapID'); |
| 18 | 18 | } |
| 19 | 19 | } |
@@ -7,6 +7,6 @@ |
||
| 7 | 7 | private static $menu_icon = '/mappable/icons/menuicon.png'; |
| 8 | 8 | |
| 9 | 9 | static $has_one = array( |
| 10 | - 'DefaultIcon' => 'Image' |
|
| 10 | + 'DefaultIcon' => 'Image' |
|
| 11 | 11 | ); |
| 12 | 12 | } |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | $names[] = $field->getName(); |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | - error_log(print_r($names,1)); |
|
| 15 | + error_log(print_r($names, 1)); |
|
| 16 | 16 | $expected = array('Name', 'ShowGuideMarkers', 'DefaultIcon'); |
| 17 | 17 | $this->assertEquals($expected, $names); |
| 18 | 18 | |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | $names[] = $field->getName(); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - error_log(print_r($names,1)); |
|
| 23 | + error_log(print_r($names, 1)); |
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | } |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | |
| 21 | 21 | public function testShowGuideMarkers() { |
| 22 | 22 | $layer = $this->objFromFixture('PointsOfInterestLayer', 'BTS'); |
| 23 | - error_log('LAYER: '.$layer->Name); |
|
| 23 | + error_log('LAYER: ' . $layer->Name); |
|
| 24 | 24 | $pois = $layer->PointsOfInterest(); |
| 25 | 25 | $poi = $pois->first(); |
| 26 | 26 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | $expected = array( |
| 46 | - array(13.77965803301,100.54461523531), |
|
| 46 | + array(13.77965803301, 100.54461523531), |
|
| 47 | 47 | array(13.744081610619, 100.54311513861), |
| 48 | 48 | array(13.802594511242, 100.55379467004), |
| 49 | 49 | array(13.74054138487, 100.55545772112), |