mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +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:
4
googlemaps/google.maps.d.ts
vendored
4
googlemaps/google.maps.d.ts
vendored
@@ -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