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:
Vinh Tran
2015-12-05 15:15:10 -05:00
parent 4f0c326e45
commit d4c62f3297

View File

@@ -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;