Index: trunk/extensions/Maps/Services/OpenLayers/Maps_OpenLayersDispPoint.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | * @see MapsBaseMap::doMapServiceLoad()
|
35 | 35 | *
|
36 | 36 | */
|
37 | | - protected function doMapServiceLoad() {
|
| 37 | + public function doMapServiceLoad() {
|
38 | 38 | global $egOpenLayersOnThisPage;
|
39 | 39 |
|
40 | 40 | MapsOpenLayers::addOLDependencies( $this->output );
|
Index: trunk/extensions/Maps/Features/Maps_ParserFunctions.php |
— | — | @@ -61,10 +61,10 @@ |
62 | 62 | foreach( $args as $arg ) {
|
63 | 63 | $split = explode( '=', $arg );
|
64 | 64 | $name = strtolower( trim( array_shift( $split ) ) );
|
65 | | - if ( count( $split ) > 1 && self::inParamAliases( $name, 'service', MapsMapper::getCommonParameters() ) ) {
|
| 65 | + if ( count( $split ) > 0 && self::inParamAliases( $name, 'service', MapsMapper::getCommonParameters() ) ) {
|
66 | 66 | if ( !$setService ) {
|
67 | 67 | $service = implode( '=', $split );
|
68 | | - $parameters = 'service=' . $service;
|
| 68 | + $parameters[] = 'service=' . $service;
|
69 | 69 | $setService = true;
|
70 | 70 | }
|
71 | 71 | } else {
|
— | — | @@ -73,7 +73,6 @@ |
74 | 74 | }
|
75 | 75 |
|
76 | 76 | $service = MapsMapper::getValidService( $setService ? $service : '', $parserFunction );
|
77 | | -
|
78 | 77 | $mapClass = new $egMapsServices[$service]['features'][$parserFunction]();
|
79 | 78 |
|
80 | 79 | $manager = new ValidatorManager();
|