折线设置 typedef
google.maps.journeySharing.PolylineSetup
类型输入符
折线设置类型。
类型接受 PolylineSetupOptions
对象,或接受 DefaultPolylineSetupOptions
对象并返回 PolylineSetupOptions
对象的函数。
如果指定函数,则该函数可以而且应该修改输入的 defaultPolylineOptions
字段,并在输出 PolylineSetupOptions
对象中返回 polylineOptions
。
PolylineSetupOptions|(function(DefaultPolylineSetupOptions): PolylineSetupOptions)
AlignSetupOptions 接口
google.maps.journeySharing.PolylineSetupOptions
接口
折线设置选项。
属性 | |
---|---|
polylineOptions optional |
类型:
PolylineOptions optional 多段线选项。 |
visible optional |
类型:
boolean optional 多段线的可见性。 |
Default 折线 SetupOptions 接口
google.maps.journeySharing.DefaultPolylineSetupOptions
接口
LineSetup 默认选项。
属性 | |
---|---|
defaultPolylineOptions |
默认多段线选项。 |
defaultVisible |
类型:
boolean 默认的多段线可见性。 |
MarkerSetup typedef
google.maps.journeySharing.MarkerSetup
类型输入符
MarkerSetup 类型。
类型接受 MarkerSetupOptions
对象,或接受 DefaultMarkerSetupOptions
对象并返回 MarkerSetupOptions
对象的函数。
如果指定函数,则该函数可以而且应该修改输入的 defaultMarkerOptions
字段,并在输出 MarkerSetupOptions
对象中返回 markerOptions
。
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 |