@googlemaps/routing 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/build/protos/google/geo/type/viewport.proto +1 -1
- package/build/protos/google/maps/routing/v2/fallback_info.proto +5 -4
- package/build/protos/google/maps/routing/v2/geocoding_results.proto +4 -4
- package/build/protos/google/maps/routing/v2/localized_time.proto +1 -1
- package/build/protos/google/maps/routing/v2/location.proto +2 -2
- package/build/protos/google/maps/routing/v2/maneuver.proto +2 -2
- package/build/protos/google/maps/routing/v2/navigation_instruction.proto +5 -4
- package/build/protos/google/maps/routing/v2/polyline.proto +3 -3
- package/build/protos/google/maps/routing/v2/route.proto +11 -11
- package/build/protos/google/maps/routing/v2/route_label.proto +3 -3
- package/build/protos/google/maps/routing/v2/route_modifiers.proto +6 -6
- package/build/protos/google/maps/routing/v2/route_travel_mode.proto +1 -1
- package/build/protos/google/maps/routing/v2/routes_service.proto +49 -40
- package/build/protos/google/maps/routing/v2/routing_preference.proto +6 -4
- package/build/protos/google/maps/routing/v2/speed_reading_interval.proto +3 -3
- package/build/protos/google/maps/routing/v2/toll_info.proto +5 -5
- package/build/protos/google/maps/routing/v2/toll_passes.proto +17 -2
- package/build/protos/google/maps/routing/v2/traffic_model.proto +1 -1
- package/build/protos/google/maps/routing/v2/transit.proto +1 -1
- package/build/protos/google/maps/routing/v2/transit_preferences.proto +1 -1
- package/build/protos/google/maps/routing/v2/units.proto +1 -1
- package/build/protos/google/maps/routing/v2/vehicle_emission_type.proto +2 -2
- package/build/protos/google/maps/routing/v2/vehicle_info.proto +2 -2
- package/build/protos/google/maps/routing/v2/waypoint.proto +5 -5
- package/build/protos/protos.d.ts +779 -16
- package/build/protos/protos.js +3019 -257
- package/build/protos/protos.json +358 -16
- package/build/src/v2/routes_client.d.ts +45 -36
- package/build/src/v2/routes_client.js +34 -27
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -28,7 +28,7 @@ option ruby_package = "Google::Maps::Routing::V2";
|
|
|
28
28
|
|
|
29
29
|
// A set of values describing the vehicle's emission type.
|
|
30
30
|
// Applies only to the `DRIVE`
|
|
31
|
-
// [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
|
|
31
|
+
// [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
|
|
32
32
|
enum VehicleEmissionType {
|
|
33
33
|
// No emission type specified. Default to `GASOLINE`.
|
|
34
34
|
VEHICLE_EMISSION_TYPE_UNSPECIFIED = 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -32,6 +32,6 @@ option ruby_package = "Google::Maps::Routing::V2";
|
|
|
32
32
|
message VehicleInfo {
|
|
33
33
|
// Describes the vehicle's emission type.
|
|
34
34
|
// Applies only to the `DRIVE`
|
|
35
|
-
// [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
|
|
35
|
+
// [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
|
|
36
36
|
VehicleEmissionType emission_type = 2;
|
|
37
37
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -47,7 +47,7 @@ message Waypoint {
|
|
|
47
47
|
|
|
48
48
|
// Marks this waypoint as a milestone rather a stopping point. For
|
|
49
49
|
// each non-via waypoint in the request, the response appends an entry to the
|
|
50
|
-
// [legs][google.maps.routing.v2.Route.legs]
|
|
50
|
+
// [`legs`][google.maps.routing.v2.Route.legs]
|
|
51
51
|
// array to provide the details for stopovers on that leg of the trip. Set
|
|
52
52
|
// this value to true when you want the route to pass through this waypoint
|
|
53
53
|
// without stopping over. Via waypoints don't cause an entry to be added to
|
|
@@ -63,14 +63,14 @@ message Waypoint {
|
|
|
63
63
|
// calculated route won't include non-`via` waypoints on roads that are
|
|
64
64
|
// unsuitable for pickup and drop-off. This option works only for `DRIVE` and
|
|
65
65
|
// `TWO_WHEELER` travel modes, and when the `location_type` is
|
|
66
|
-
// [Location][google.maps.routing.v2.Location].
|
|
66
|
+
// [`Location`][google.maps.routing.v2.Location].
|
|
67
67
|
bool vehicle_stopover = 4;
|
|
68
68
|
|
|
69
69
|
// Indicates that the location of this waypoint is meant to have a preference
|
|
70
70
|
// for the vehicle to stop at a particular side of road. When you set this
|
|
71
71
|
// value, the route will pass through the location so that the vehicle can
|
|
72
72
|
// stop at the side of road that the location is biased towards from the
|
|
73
|
-
// center of the road. This option works only for
|
|
74
|
-
// [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
|
|
73
|
+
// center of the road. This option works only for `DRIVE` and `TWO_WHEELER`
|
|
74
|
+
// [`RouteTravelMode`][google.maps.routing.v2.RouteTravelMode].
|
|
75
75
|
bool side_of_road = 5;
|
|
76
76
|
}
|