PolylineSetup typedef
google.maps.journeySharing.PolylineSetup
typedef
PolygonSetup 类型。
该类型接受 PolylineSetupOptions
对象,或者接受 DefaultPolylineSetupOptions
对象并返回 PolylineSetupOptions
对象的函数。
如果指定了一个函数,该函数可以并且应该修改输入的 defaultPolylineOptions
字段,并将其作为 polylineOptions
在输出 PolylineSetupOptions
对象中返回。
PolylineSetupOptions|(function(DefaultPolylineSetupOptions): PolylineSetupOptions)
PolylineSetupOptions 接口
google.maps.journeySharing.PolylineSetupOptions
接口
多段线设置选项。
属性 | |
---|---|
polylineOptions optional |
类型:
PolylineOptions optional 多段线选项。 |
visible optional |
类型:
boolean optional 多段线可见性。 |
DefaultPolylineSetupOptions 接口
google.maps.journeySharing.DefaultPolylineSetupOptions
接口
PolygonSetup 默认选项。
属性 | |
---|---|
defaultPolylineOptions |
默认的多段线选项。 |
defaultVisible |
类型:
boolean 默认的多段线可见性。 |
MarkerSetup 类型定义符
google.maps.journeySharing.MarkerSetup
typedef
MarkerSetup 类型。
该类型接受 MarkerSetupOptions
对象,或者接受 DefaultMarkerSetupOptions
对象并返回 MarkerSetupOptions
对象的函数。
如果指定了一个函数,该函数可以并且应该修改输入的 defaultMarkerOptions
字段,并将其作为 markerOptions
在输出 MarkerSetupOptions
对象中返回。
MarkerSetupOptions|(function(DefaultMarkerSetupOptions): MarkerSetupOptions)
MarkerSetupOptions 接口
google.maps.journeySharing.MarkerSetupOptions
接口
MarkerSetup 选项。
属性 | |
---|---|
markerOptions optional |
类型:
MarkerOptions optional 标记选项。 |
DefaultMarkerSetupOptions 接口
google.maps.journeySharing.DefaultMarkerSetupOptions
接口
MarkerSetup 默认选项。
属性 | |
---|---|
defaultMarkerOptions |
默认标记选项。 |
MarkerCustomizationFunctionParams 接口
google.maps.journeySharing.MarkerCustomizationFunctionParams
接口
所有标记自定义函数的通用参数。此类没有直接提供给任何标记自定义函数的对象;而是会提供其某个后代类的对象。
属性 | |
---|---|
defaultOptions |
用于创建此标记的默认选项。 |
isNew |
类型:
boolean 如果为 true,则表示该标记是新建的,且在标记添加到地图视图之前是首次调用的。否则为 false。 |
marker |
类型:
Marker 标记。您应直接对此对象进行自定义。 |
DeliveryVehicleMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams
接口
特定于标记自定义功能的参数,这些函数会将选项应用于交付车辆标记。由 FleetEngineDeliveryVehicleLocationProviderOptions.deliveryVehicleMarkerCustomization
和 FleetEngineDeliveryFleetLocationProviderOptions.deliveryVehicleMarkerCustomization
使用。
此接口扩展了 MarkerCustomizationFunctionParams
。
属性 | |
---|---|
vehicle |
此标记表示的送货车辆。 |
继承的样式:defaultOptions 、isNew 、marker
|
PlannedStopMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.PlannedStopMarkerCustomizationFunctionParams
接口
标记自定义功能特有的参数,可将选项应用于表示计划停靠点的标记。供 FleetEngineDeliveryVehicleLocationProviderOptions.plannedStopMarkerCustomization
使用。
此接口扩展了 DeliveryVehicleMarkerCustomizationFunctionParams
。
属性 | |
---|---|
stopIndex |
类型:
number 其余停靠站列表中该停靠站的索引(从 0 开始)。 |
继承的样式:defaultOptions 、isNew 、marker 、vehicle
|
TaskMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.TaskMarkerCustomizationFunctionParams
接口
标记自定义函数特有的参数,可将选项应用于表示计划或实际任务位置的标记。由 FleetEngineDeliveryVehicleLocationProviderOptions.taskMarkerCustomization
和 FleetEngineDeliveryVehicleLocationProviderOptions.taskOutcomeMarkerCustomization
使用。
此接口扩展了 DeliveryVehicleMarkerCustomizationFunctionParams
。
属性 | |
---|---|
task |
类型:
Task 此标记表示的任务位置。 |
继承的样式:defaultOptions 、isNew 、marker 、vehicle
|
ShipmentMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.ShipmentMarkerCustomizationFunctionParams
接口
特定于标记自定义功能的参数,这些参数将选项应用于表示货运车辆和目的地位置的标记。由 FleetEngineShipmentLocationProviderOptions.deliveryVehicleMarkerCustomization
和 FleetEngineShipmentLocationProviderOptions.destinationMarkerCustomization
使用。
此接口扩展了 MarkerCustomizationFunctionParams
。
属性 | |
---|---|
taskTrackingInfo |
与此标记关联的任务的信息。 |
继承的样式:defaultOptions 、isNew 、marker
|
TripMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.TripMarkerCustomizationFunctionParams
接口
标记自定义功能特有的参数,可将选项应用于表示行程车辆、出发地和目的地位置的标记。供 FleetEngineTripLocationProviderOptions.vehicleMarkerCustomization
、FleetEngineTripLocationProviderOptions.originMarkerCustomization
和 FleetEngineTripLocationProviderOptions.destinationMarkerCustomization
使用。
此接口扩展了 MarkerCustomizationFunctionParams
。
属性 | |
---|---|
trip |
类型:
Trip |
继承的样式:defaultOptions 、isNew 、marker
|
TripWaypointMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.TripWaypointMarkerCustomizationFunctionParams
接口
标记自定义功能特有的参数,可将选项应用于表示行程航点位置的标记。供 FleetEngineTripLocationProviderOptions.waypointMarkerCustomization
使用。
此接口扩展了 TripMarkerCustomizationFunctionParams
。
属性 | |
---|---|
waypointIndex |
类型:
number 与此标记关联的航点索引(从 0 开始)。在 Trip.remainingWaypoints 上使用此索引可检索航点的相关信息。 |
继承的样式:defaultOptions 、isNew 、marker 、trip
|
VehicleMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams
接口
特定于标记自定义功能(将选项应用于车辆标记)的参数。由 FleetEngineVehicleLocationProviderOptions.vehicleMarkerCustomization
和 FleetEngineFleetLocationProviderOptions.vehicleMarkerCustomization
使用。
此接口扩展了 MarkerCustomizationFunctionParams
。
属性 | |
---|---|
vehicle |
类型:
Vehicle 此标记表示的车辆。 |
继承的样式:defaultOptions 、isNew 、marker
|
VehicleWaypointMarkerCustomizationFunctionParams 接口
google.maps.journeySharing.VehicleWaypointMarkerCustomizationFunctionParams
接口
标记自定义函数特有的参数,可将选项应用于车辆航点标记。供 FleetEngineVehicleLocationProviderOptions.originMarkerCustomization
、FleetEngineVehicleLocationProviderOptions.destinationMarkerCustomization
和 FleetEngineVehicleLocationProviderOptions.intermediateDestinationMarkerCustomization
使用
此接口扩展了 VehicleMarkerCustomizationFunctionParams
。
属性 | |
---|---|
waypointIndex |
类型:
number 与此标记关联的航点索引(从 0 开始)。在 Vehicle.waypoints 上使用此索引可检索航点的相关信息。 |
继承的样式:defaultOptions 、isNew 、marker 、vehicle
|