PolylineSetup typedef
google.maps.journeySharing.PolylineSetup
typedef
PolylineSetup type.
The type accepts either a PolylineSetupOptions
object, or a function that accepts a DefaultPolylineSetupOptions
object and returns a PolylineSetupOptions
object.
If specifying a function, the function can and should modify the input's defaultPolylineOptions
field, and return it as polylineOptions
in the output PolylineSetupOptions
object.
PolylineSetupOptions|(function(DefaultPolylineSetupOptions): PolylineSetupOptions)
PolylineSetupOptions interface
google.maps.journeySharing.PolylineSetupOptions
interface
PolylineSetup options.
Properties | |
---|---|
polylineOptions optional |
Type:
PolylineOptions optional Polyline options. |
visible optional |
Type:
boolean optional Polyline visibility. |
DefaultPolylineSetupOptions interface
google.maps.journeySharing.DefaultPolylineSetupOptions
interface
PolylineSetup default options.
Properties | |
---|---|
defaultPolylineOptions |
Type:
PolylineOptions Default polyline options. |
defaultVisible |
Type:
boolean Default polyline visibility. |
MarkerSetup typedef
google.maps.journeySharing.MarkerSetup
typedef
MarkerSetup type.
The type accepts either a MarkerSetupOptions
object, or a function that accepts a DefaultMarkerSetupOptions
object and returns a MarkerSetupOptions
object.
If specifying a function, the function can and should modify the input's defaultMarkerOptions
field, and return it as markerOptions
in the output MarkerSetupOptions
object.
MarkerSetupOptions|(function(DefaultMarkerSetupOptions): MarkerSetupOptions)
MarkerSetupOptions interface
google.maps.journeySharing.MarkerSetupOptions
interface
MarkerSetup options.
Properties | |
---|---|
markerOptions optional |
Type:
MarkerOptions optional Marker options. |
DefaultMarkerSetupOptions interface
google.maps.journeySharing.DefaultMarkerSetupOptions
interface
MarkerSetup default options.
Properties | |
---|---|
defaultMarkerOptions |
Type:
MarkerOptions Default marker options. |
MarkerCustomizationFunctionParams interface
google.maps.journeySharing.MarkerCustomizationFunctionParams
interface
Parameters that are common to all marker customization functions. No object of this class is provided directly to any marker customization function; an object of one of its descendent classes is provided instead.
Properties | |
---|---|
defaultOptions |
Type:
MarkerOptions The default options used to create this marker. |
isNew |
Type:
boolean If true, the marker was newly created, and the marker customization function is being called for the first time, before the marker has been added to the map view. False otherwise. |
marker |
Type:
Marker The marker. Any customizations should be made to this object directly. |
DeliveryVehicleMarkerCustomizationFunctionParams interface
google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams
interface
Parameters specific to marker customization functions that apply options to delivery vehicle markers. Used by FleetEngineDeliveryVehicleLocationProviderOptions.deliveryVehicleMarkerCustomization
and FleetEngineDeliveryFleetLocationProviderOptions.deliveryVehicleMarkerCustomization
.
This interface extends
MarkerCustomizationFunctionParams
.
Properties | |
---|---|
vehicle |
Type:
DeliveryVehicle The delivery vehicle represented by this marker. |
Inherited:
defaultOptions ,
isNew ,
|