@@ -184,7 +184,7 @@ |
||
184 | 184 | |
185 | 185 | /** |
186 | 186 | * Access the map editing field for the purpose of adding guide points |
187 | - * @return [LatLongField] instance of location editing field |
|
187 | + * @return FormField instance of location editing field |
|
188 | 188 | */ |
189 | 189 | public function getMapField() { |
190 | 190 | if (!isset($this->mapField)) { |
@@ -256,6 +256,10 @@ discard block |
||
256 | 256 | /* |
257 | 257 | Add a map layer to an existing instance |
258 | 258 | */ |
259 | + |
|
260 | + /** |
|
261 | + * @param Member $instance |
|
262 | + */ |
|
259 | 263 | private function addLayerToInstance(&$instance) { |
260 | 264 | // Create a layer |
261 | 265 | $kmlFile = new File(array('Name' => 'example.kml', 'Filename' => 'mappable/tests/kml/example.kml')); |
@@ -269,6 +273,9 @@ discard block |
||
269 | 273 | $layers->add($layer); |
270 | 274 | } |
271 | 275 | |
276 | + /** |
|
277 | + * @param Member $instance |
|
278 | + */ |
|
272 | 279 | private function addMapPinToInstance(&$instance) { |
273 | 280 | // Create a pin |
274 | 281 | $imageFile = new Image(array('Name' => 'mapicontest.png', 'Filename' => 'mappable/tests/images/mapicontest.png')); |