mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Update interface DirectionRequest
Added ```LatLngLiteral``` as an option type for ```origin``` and ```destination``` fields for DirectionRequest. Reference: [https://developers.google.com/maps/documentation/javascript/reference#Place](https://developers.google.com/maps/documentation/javascript/reference#Place)
This commit is contained in:
Vendored
+2
-2
@@ -911,10 +911,10 @@ declare module google.maps {
|
||||
avoidFerries?: boolean;
|
||||
avoidHighways?: boolean;
|
||||
avoidTolls?: boolean;
|
||||
destination?: LatLng|string;
|
||||
destination?: LatLng|LatLngLiteral|string;
|
||||
durationInTraffic?: boolean;
|
||||
optimizeWaypoints?: boolean;
|
||||
origin?: LatLng|string;
|
||||
origin?: LatLng|LatLngLiteral|string;
|
||||
provideRouteAlternatives?: boolean;
|
||||
region?: string;
|
||||
transitOptions?: TransitOptions;
|
||||
|
||||
Reference in New Issue
Block a user