PolylineSetup typedef
google.maps.journeySharing.PolylineSetup
typedef
PolylineSetup 類型。
類型接受 PolylineSetupOptions
物件,或是接受 DefaultPolylineSetupOptions
物件並傳回 PolylineSetupOptions
物件的函式。
如果指定函式,函式可以修改並修改輸入的 defaultPolylineOptions
欄位,並在輸出的 PolylineSetupOptions
物件中傳回 polylineOptions
。
PolylineSetupOptions|(function(DefaultPolylineSetupOptions): PolylineSetupOptions)
PolylineSetupOptions 介面
google.maps.journeySharing.PolylineSetupOptions
介面
PolylineSetup 選項。
屬性 | |
---|---|
polylineOptions optional |
類型:
PolylineOptions optional 折線選項。 |
visible optional |
類型:
boolean optional 折線顯示設定。 |
DefaultPolylineSetupOptions 介面
google.maps.journeySharing.DefaultPolylineSetupOptions
介面
PolylineSetup 預設選項。
屬性 | |
---|---|
defaultPolylineOptions |
類型:
PolylineOptions 預設折線選項。 |
defaultVisible |
類型:
boolean 預設折線顯示設定。 |
MarkerSetup 類型
google.maps.journeySharing.MarkerSetup
typedef
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 |
類型:
MarkerOptions 預設標記選項。 |
MarkerCustomizationFunctionParams 介面
google.maps.journeySharing.MarkerCustomizationFunctionParams
介面
所有標記自訂函式通用的參數。系統不會直接提供任何類別的物件給任何標記自訂函式,只會提供其中一個子類別的類別物件。
屬性 | |
---|---|
defaultOptions |
類型:
MarkerOptions 建立這個標記的預設選項。 |
isNew |
類型:
boolean 如為 true,則標記才剛創建,且會先首次呼叫標記自訂函式,然後再將標記加入地圖檢視。否則傳回「否」。 |
marker |
類型:
Marker 標記。您應該直接對這個物件進行任何自訂。 |
DeliveryVehicleMarkerCustomizationFunctionParams 介面
google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams
介面
專門用於傳送車輛標記標記的標記自訂函式專用參數。由 FleetEngineDeliveryVehicleLocationProviderOptions.deliveryVehicleMarkerCustomization
和 FleetEngineDeliveryFleetLocationProviderOptions.deliveryVehicleMarkerCustomization
使用。
這個介面會擴充 MarkerCustomizationFunctionParams
。
屬性 | |
---|---|
vehicle |
類型:
DeliveryVehicle 此標記代表的貨運車輛。 |
繼承:
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 |
類型:
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 |