-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from JeroenDeDauw/fix-qp-geoservice
Fixed geoservice usage for center parameter in the map printer
- Loading branch information
Showing
8 changed files
with
111 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -229,4 +229,6 @@ public function getEarthZoom() { | |
return 1; | ||
} | ||
|
||
public abstract function getMapId( $increment = true ); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
use DataValues\Geo\Formatters\GeoCoordinateFormatter; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
use DataValues\Geo\Formatters\GeoCoordinateFormatter; | ||
|
||
/** | ||
|
@@ -10,7 +11,6 @@ | |
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
||
class MapsFinddestination extends ParserHook { | ||
|
||
/** | ||
|
@@ -41,7 +41,7 @@ protected function getParameterInfo( $type ) { | |
|
||
$params['location'] = [ | ||
'dependencies' => [ 'mappingservice', 'geoservice' ], | ||
'type' => 'mapslocation', | ||
'type' => 'mapslocation', // FIXME: geoservice is not used | ||
]; | ||
|
||
$params['format'] = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
* @licence GNU GPL v2+ | ||
* @author Jeroen De Dauw < [email protected] > | ||
*/ | ||
|
||
class MapsGeodistance extends ParserHook { | ||
|
||
/** | ||
|
@@ -61,13 +60,13 @@ protected function getParameterInfo( $type ) { | |
]; | ||
|
||
$params['location1'] = [ | ||
'type' => 'mapslocation', | ||
'type' => 'mapslocation', // FIXME: geoservice is not used | ||
'aliases' => 'from', | ||
'dependencies' => [ 'mappingservice', 'geoservice' ], | ||
]; | ||
|
||
$params['location2'] = [ | ||
'type' => 'mapslocation', | ||
'type' => 'mapslocation', // FIXME: geoservice is not used | ||
'aliases' => 'to', | ||
'dependencies' => [ 'mappingservice', 'geoservice' ], | ||
]; | ||
|