From b55cd34ad7bee61a81cf2caa9498d1bbca060d72 Mon Sep 17 00:00:00 2001 From: benny-medflyt Date: Mon, 2 Oct 2017 20:32:42 +0300 Subject: [PATCH] Fix DistanceMatrixRequest to support LatLngLiteral (#20179) --- types/googlemaps/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index e4fbe1e411..e3cd3a951e 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -1591,10 +1591,10 @@ declare namespace google.maps { avoidFerries?: boolean; avoidHighways?: boolean; avoidTolls?: boolean; - destinations?: string[]|LatLng[]|Place[]; + destinations?: string[]|LatLng[]|LatLngLiteral[]|Place[]; drivingOptions?: DrivingOptions; durationInTraffic?: boolean; - origins?: string[]|LatLng[]|Place[]; + origins?: string[]|LatLng[]|LatLngLiteral[]|Place[]; region?: string; transitOptions?: TransitOptions; travelMode?: TravelMode;