@@ -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 |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Maps\Presentation\WikitextParser; |
11 | 11 | use Maps\Presentation\WikitextParsers\LocationParser; |
12 | 12 | use Parser; |
13 | -use ParserOptions; |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * Class handling the #display_map rendering. |
@@ -205,6 +205,10 @@ |
||
205 | 205 | return $location->getJSONObject(); |
206 | 206 | } |
207 | 207 | |
208 | + /** |
|
209 | + * @param string $iconUrl |
|
210 | + * @param string $visitedIconUrl |
|
211 | + */ |
|
208 | 212 | private function getJsonForStaticLocations( array $staticLocations, array $params, $iconUrl, $visitedIconUrl ) { |
209 | 213 | $locationsJson = []; |
210 | 214 |