@@ -136,6 +136,10 @@ |
||
136 | 136 | return $locationJsonObjects; |
137 | 137 | } |
138 | 138 | |
139 | + /** |
|
140 | + * @param string $iconUrl |
|
141 | + * @param string $visitedIconUrl |
|
142 | + */ |
|
139 | 143 | private function getLocationJsonObject( Location $location, array $params, $iconUrl, $visitedIconUrl ) { |
140 | 144 | $jsonObj = $location->getJSONObject( $params['title'], $params['label'], $iconUrl, '', '', $visitedIconUrl ); |
141 | 145 |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Maps\Map\MapOutputBuilder; |
12 | 12 | use Maps\MappingService; |
13 | 13 | use Maps\Presentation\ElementJsonSerializer; |
14 | -use Maps\Map\MapHtmlBuilder; |
|
15 | 14 | use Maps\Presentation\WikitextParser; |
16 | 15 | use Maps\Presentation\WikitextParsers\LocationParser; |
17 | 16 | use Parser; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use Maps\Map\MapOutputBuilder; |
13 | 13 | use Maps\MappingService; |
14 | 14 | use Maps\Presentation\ElementJsonSerializer; |
15 | -use Maps\Map\MapHtmlBuilder; |
|
16 | 15 | use Maps\Presentation\WikitextParser; |
17 | 16 | use Maps\Presentation\WikitextParsers\LocationParser; |
18 | 17 | use Maps\SemanticMW\ResultPrinters\QueryHandler; |
@@ -65,6 +65,9 @@ |
||
65 | 65 | } |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @return \ParamProcessor\ProcessingResult |
|
70 | + */ |
|
68 | 71 | private function processParameters( MappingService $service, array $displayParams ) { |
69 | 72 | $processor = Processor::newDefault(); |
70 | 73 |