new LimbMarkerPlacesFactory(options)
Parameters:
| Name | Type | Description |
|---|---|---|
options |
lucid.maps.limbs.LimbMarkerPlacesFactoryOptions | The factory options. |
- Source:
Methods
-
add(position, title, placeReference) → {lucid.maps.limbs.Limb}
-
Add a new marker and a LIMB to the map.The map instance and label styling are set in the options passed into the manager's constructor.
Parameters:
Name Type Argument Description positiongoogle.maps.LatLng The location to be marked. titlestring The name/title of the location. Used as the title of the marker created on the map. placeReferencestring <optional>
Optionally associated the marker with a place using the place reference. - Source:
Returns:
The limb that has been created. -
addCustomised(customisedMarkerOptions, customisedLimbOptions, placeReference) → {lucid.maps.limbs.Limb}
-
Add a new marker and a LIMB to the map.The map instance and label styling are set in the options passed into the manager's constructor.
Parameters:
Name Type Argument Description customisedMarkerOptionsgoogle.maps.MarkerOptions Selected settings of the marker to be overriden from the options passed into the constructor. customisedLimbOptionslucid.maps.limbs.LimbOptions Selected settings of the LIMB to be overriden from the options passed into the constructor. placeReferencestring <optional>
Optionally associate the marker with a place using the place reference. - Source:
Returns:
The limb that has been created. -
zoomToAll(zoomOptions)
-
Zoom and pan the map so that all markers are in view.You can optionally specify additional locations to be included in the map view by setting LatLng in the options parameter.
Parameters:
Name Type Description zoomOptionsobject Properties
Name Type Argument Description additionalLocationsgoogle.maps.LatLng[] <optional>
Locations, in addition to the markers, which should be kept in view when the map view is changed. - Source:
- maps/limbs/LimbMarkerPlacesFactory.js, line 120