PolylineSetup typedef
typedef
google.maps.journeySharing.PolylineSetup
ประเภท PolylineSetup
ประเภทจะยอมรับออบเจ็กต์ หรือฟังก์ชันที่ยอมรับออบเจ็กต์ PolylineSetupOptions และแสดงผลออบเจ็กต์ DefaultPolylineSetupOptionsPolylineSetupOptions
หากระบุฟังก์ชัน ฟังก์ชันดังกล่าวสามารถและควรแก้ไขช่อง defaultPolylineOptions ของอินพุต และแสดงผลเป็น polylineOptions ในออบเจ็กต์ ของเอาต์พุตPolylineSetupOptions
PolylineSetupOptions|(function(DefaultPolylineSetupOptions): PolylineSetupOptions)
อินเทอร์เฟซ PolylineSetupOptions
อินเทอร์เฟซ
google.maps.journeySharing.PolylineSetupOptions
ตัวเลือก PolylineSetup
พร็อพเพอร์ตี้ | |
|---|---|
polylineOptions
ไม่บังคับ |
ประเภท:
PolylineOptions optionalตัวเลือกเส้นประกอบ |
visible
ไม่บังคับ |
ประเภท:
boolean optionalระดับการเข้าถึงเส้นประกอบ |
อินเทอร์เฟซ DefaultPolylineSetupOptions
อินเทอร์เฟซ
google.maps.journeySharing.DefaultPolylineSetupOptions
ตัวเลือกเริ่มต้นของ PolylineSetup
พร็อพเพอร์ตี้ | |
|---|---|
defaultPolylineOptions |
ประเภท:
PolylineOptionsตัวเลือกเส้นประกอบเริ่มต้น |
defaultVisible |
ประเภท:
booleanระดับการเข้าถึงเส้นประกอบเริ่มต้น |
MarkerSetup typedef
typedef
google.maps.journeySharing.MarkerSetup
ประเภท MarkerSetup
ประเภทจะยอมรับออบเจ็กต์ หรือฟังก์ชันที่ยอมรับออบเจ็กต์ MarkerSetupOptions และแสดงผลออบเจ็กต์ DefaultMarkerSetupOptionsMarkerSetupOptions
หากระบุฟังก์ชัน ฟังก์ชันดังกล่าวสามารถและควรแก้ไขช่อง defaultMarkerOptions ของอินพุต และแสดงผลเป็น markerOptions ในออบเจ็กต์ ของเอาต์พุตMarkerSetupOptions
MarkerSetupOptions|(function(DefaultMarkerSetupOptions): MarkerSetupOptions)
อินเทอร์เฟซ MarkerSetupOptions
อินเทอร์เฟซ
google.maps.journeySharing.MarkerSetupOptions
ตัวเลือก MarkerSetup
พร็อพเพอร์ตี้ | |
|---|---|
markerOptions
ไม่บังคับ |
ประเภท:
ตัวเลือกเครื่องหมาย |
อินเทอร์เฟซ DefaultMarkerSetupOptions
อินเทอร์เฟซ
google.maps.journeySharing.DefaultMarkerSetupOptions
ตัวเลือกเริ่มต้นของ MarkerSetup
พร็อพเพอร์ตี้ | |
|---|---|
defaultMarkerOptions |
ประเภท:
ตัวเลือกเครื่องหมายเริ่มต้น |
MarkerCustomizationFunctionParams interface
interface
google.maps.journeySharing.MarkerCustomizationFunctionParams
ขยายโดย DeliveryVehicleMarkerCustomizationFunctionParams, PlannedStopMarkerCustomizationFunctionParams, ShipmentMarkerCustomizationFunctionParams, TaskMarkerCustomizationFunctionParams, TripMarkerCustomizationFunctionParams, TripWaypointMarkerCustomizationFunctionParams, VehicleMarkerCustomizationFunctionParams, VehicleWaypointMarkerCustomizationFunctionParams
พารามิเตอร์ที่ใช้ร่วมกันสำหรับฟังก์ชันการปรับแต่งเครื่องหมายทั้งหมด ระบบจะไม่ส่งออบเจ็กต์ของคลาสนี้ไปยังฟังก์ชันการปรับแต่งเครื่องหมายโดยตรง แต่จะส่งออบเจ็กต์ของคลาสสืบทอดคลาสใดคลาสหนึ่งแทน
พร็อพเพอร์ตี้ | |
|---|---|
defaultOptions |
ประเภท:
ตัวเลือกเริ่มต้นที่ใช้สร้างเครื่องหมายนี้ |
isNew |
ประเภท:
booleanหากเป็น "จริง" แสดงว่ามีการสร้างเครื่องหมายใหม่ และระบบจะเรียกใช้ฟังก์ชันการปรับแต่งเครื่องหมายเป็นครั้งแรกก่อนที่จะเพิ่มเครื่องหมายลงในมุมมองแผนที่ มิเช่นนั้นจะเป็น "เท็จ" |
marker |
ประเภท:
เครื่องหมาย คุณควรปรับแต่งออบเจ็กต์นี้โดยตรง |
อินเทอร์เฟซ DeliveryVehicleMarkerCustomizationFunctionParams
interface
google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams
extends MarkerCustomizationFunctionParams
extended by PlannedStopMarkerCustomizationFunctionParams, TaskMarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายยานพาหนะนำส่ง ใช้โดย FleetEngineDeliveryVehicleLocationProviderOptions.deliveryVehicleMarkerCustomization และ FleetEngineDeliveryFleetLocationProviderOptions.deliveryVehicleMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
vehicle |
ประเภท:
DeliveryVehicleยานพาหนะสำหรับการนำส่งที่แสดงโดยเครื่องหมายนี้ |
สืบทอด:
defaultOptions,
isNew,
marker
| |
PlannedStopMarkerCustomizationFunctionParams interface
interface
google.maps.journeySharing.PlannedStopMarkerCustomizationFunctionParams
extends DeliveryVehicleMarkerCustomizationFunctionParams, MarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายที่แสดงถึงจุดแวะพักที่วางแผนไว้ ใช้โดย FleetEngineDeliveryVehicleLocationProviderOptions.plannedStopMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
stopIndex |
ประเภท:
numberดัชนีแบบ 0 ของจุดแวะพักนี้ในรายการจุดแวะพักที่เหลือ |
สืบทอด:
defaultOptions,
isNew,
marker,
vehicle
| |
TaskMarkerCustomizationFunctionParams interface
interface
google.maps.journeySharing.TaskMarkerCustomizationFunctionParams
extends DeliveryVehicleMarkerCustomizationFunctionParams, MarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายที่แสดงตำแหน่งงานที่วางแผนไว้หรือตำแหน่งงานจริง ใช้โดย FleetEngineDeliveryVehicleLocationProviderOptions.taskMarkerCustomization และ FleetEngineDeliveryVehicleLocationProviderOptions.taskOutcomeMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
task |
ประเภท:
Taskตำแหน่งของงานที่แสดงโดยเครื่องหมายนี้ |
สืบทอด:
defaultOptions,
isNew,
marker,
vehicle
| |
อินเทอร์เฟซ ShipmentMarkerCustomizationFunctionParams
interface
google.maps.journeySharing.ShipmentMarkerCustomizationFunctionParams
extends MarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายที่แสดงถึงยานพาหนะนำส่งสินค้าและสถานที่ปลายทาง ใช้โดย FleetEngineShipmentLocationProviderOptions.deliveryVehicleMarkerCustomization และ FleetEngineShipmentLocationProviderOptions.destinationMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
taskTrackingInfo |
ประเภท:
TaskTrackingInfoข้อมูลสำหรับงานที่เชื่อมโยงกับเครื่องหมายนี้ |
สืบทอด:
defaultOptions,
isNew,
marker
| |
TripMarkerCustomizationFunctionParams interface
interface
google.maps.journeySharing.TripMarkerCustomizationFunctionParams
extends MarkerCustomizationFunctionParams
extended by TripWaypointMarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายที่แสดงถึงยานพาหนะที่ใช้ในการเดินทาง สถานที่ต้นทาง และสถานที่ปลายทาง ใช้โดย FleetEngineTripLocationProviderOptions.vehicleMarkerCustomization, FleetEngineTripLocationProviderOptions.originMarkerCustomization และ FleetEngineTripLocationProviderOptions.destinationMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
trip |
ประเภท:
Tripการเดินทางที่เชื่อมโยงกับเครื่องหมายนี้ หากต้องการข้อมูลเกี่ยวกับยานพาหนะที่ให้บริการในเที่ยวเดินทางนี้ ให้ใช้ Trip.latestVehicleLocationUpdate และ Trip.remainingWaypoints |
สืบทอด:
defaultOptions,
isNew,
marker
| |
TripWaypointMarkerCustomizationFunctionParams interface
interface
google.maps.journeySharing.TripWaypointMarkerCustomizationFunctionParams
extends TripMarkerCustomizationFunctionParams, MarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายที่แสดงตำแหน่งจุดอ้างอิงของการเดินทาง ใช้โดย FleetEngineTripLocationProviderOptions.waypointMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
waypointIndex |
ประเภท:
numberดัชนีจุดอ้างอิงแบบ 0 ที่เชื่อมโยงกับเครื่องหมายนี้ ใช้ดัชนีนี้ใน Trip.remainingWaypoints เพื่อดึงข้อมูลเกี่ยวกับจุดอ้างอิง |
สืบทอด:
defaultOptions,
isNew,
marker,
trip
| |
อินเทอร์เฟซ VehicleMarkerCustomizationFunctionParams
interface
google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams
extends MarkerCustomizationFunctionParams
extended by VehicleWaypointMarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายยานพาหนะ ใช้โดย FleetEngineVehicleLocationProviderOptions.vehicleMarkerCustomization และ FleetEngineFleetLocationProviderOptions.vehicleMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
vehicle |
ประเภท:
Vehicleยานพาหนะที่แสดงโดยเครื่องหมายนี้ |
สืบทอด:
defaultOptions,
isNew,
marker
| |
อินเทอร์เฟซ VehicleWaypointMarkerCustomizationFunctionParams
interface
google.maps.journeySharing.VehicleWaypointMarkerCustomizationFunctionParams
extends VehicleMarkerCustomizationFunctionParams, MarkerCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเครื่องหมายที่ใช้ตัวเลือกกับเครื่องหมายจุดอ้างอิงของยานพาหนะ ใช้โดย FleetEngineVehicleLocationProviderOptions.originMarkerCustomization, FleetEngineVehicleLocationProviderOptions.destinationMarkerCustomization และ FleetEngineVehicleLocationProviderOptions.intermediateDestinationMarkerCustomization
พร็อพเพอร์ตี้ | |
|---|---|
waypointIndex |
ประเภท:
numberดัชนีจุดอ้างอิงแบบ 0 ที่เชื่อมโยงกับเครื่องหมายนี้ ใช้ดัชนีนี้ใน Vehicle.waypoints เพื่อดึงข้อมูลเกี่ยวกับจุดอ้างอิง |
สืบทอด:
defaultOptions,
isNew,
marker,
vehicle
| |
PolylineCustomizationFunctionParams interface
interface
google.maps.journeySharing.PolylineCustomizationFunctionParams
ขยายโดย DeliveryVehiclePolylineCustomizationFunctionParams, ShipmentPolylineCustomizationFunctionParams, TripPolylineCustomizationFunctionParams, VehiclePolylineCustomizationFunctionParams
พารามิเตอร์ที่ใช้ร่วมกันสำหรับฟังก์ชันการปรับแต่งเส้นประกอบทั้งหมด ไม่มีการระบุออบเจ็กต์ของคลาสนี้ให้กับฟังก์ชันการปรับแต่งเส้นประกอบโดยตรง แต่จะระบุออบเจ็กต์ของคลาสสืบทอดรายการใดรายการหนึ่งแทน
พร็อพเพอร์ตี้ | |
|---|---|
defaultOptions |
ประเภท:
PolylineOptionsตัวเลือกเริ่มต้นที่ใช้สร้างชุดเส้นประกอบนี้ |
isNew |
ประเภท:
booleanหากเป็นจริง ระบบจะสร้างรายการเส้นประกอบขึ้นใหม่ และจะเรียกใช้ฟังก์ชันการปรับแต่งเส้นประกอบเป็นครั้งแรก มิเช่นนั้นจะเป็น "เท็จ" |
polylines |
รายการเส้นประกอบที่สร้างขึ้น โดยจะจัดเรียงตามลำดับเพื่อสร้างเส้นทางที่แสดงผล |
อินเทอร์เฟซ ShipmentPolylineCustomizationFunctionParams
interface
google.maps.journeySharing.ShipmentPolylineCustomizationFunctionParams
extends PolylineCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเส้นประกอบสำหรับ FleetEngineShipmentLocationProvider
พร็อพเพอร์ตี้ | |
|---|---|
taskTrackingInfo |
ประเภท:
TaskTrackingInfoข้อมูลสำหรับงานที่เชื่อมโยงกับเส้นประกอบนี้ |
สืบทอด:
defaultOptions,
isNew,
polylines
| |
อินเทอร์เฟซ TripPolylineCustomizationFunctionParams
interface
google.maps.journeySharing.TripPolylineCustomizationFunctionParams
extends PolylineCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเส้นประกอบสำหรับ FleetEngineTripLocationProvider
พร็อพเพอร์ตี้ | |
|---|---|
trip |
ประเภท:
Tripการเดินทางที่เชื่อมโยงกับเส้นประกอบนี้ |
สืบทอด:
defaultOptions,
isNew,
polylines
| |
VehiclePolylineCustomizationFunctionParams interface
interface
google.maps.journeySharing.VehiclePolylineCustomizationFunctionParams
extends PolylineCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเส้นประกอบสำหรับ FleetEngineVehicleLocationProvider
พร็อพเพอร์ตี้ | |
|---|---|
vehicle |
ประเภท:
Vehicleยานพาหนะที่วิ่งผ่านเส้นประกอบนี้ |
สืบทอด:
defaultOptions,
isNew,
polylines
| |
อินเทอร์เฟซ DeliveryVehiclePolylineCustomizationFunctionParams
interface
google.maps.journeySharing.DeliveryVehiclePolylineCustomizationFunctionParams
extends PolylineCustomizationFunctionParams
พารามิเตอร์เฉพาะสำหรับฟังก์ชันการปรับแต่งเส้นประกอบสำหรับ FleetEngineDeliveryVehicleLocationProvider
พร็อพเพอร์ตี้ | |
|---|---|
deliveryVehicle |
ประเภท:
DeliveryVehicleยานพาหนะนำส่งที่เดินทางผ่านเส้นประกอบนี้ |
สืบทอด:
defaultOptions,
isNew,
polylines
| |