mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Correct type of overview_polylines.
This commit is contained in:
4
types/google__maps/index.d.ts
vendored
4
types/google__maps/index.d.ts
vendored
@@ -907,7 +907,9 @@ export interface DirectionsRoute {
|
||||
* contains a single `points` object that holds an encoded polyline representation of the route.
|
||||
* This polyline is an approximate (smoothed) path of the resulting directions.
|
||||
*/
|
||||
overview_polyline: string;
|
||||
overview_polyline: {
|
||||
points: string;
|
||||
};
|
||||
/** contains the viewport bounding box of the `overview_polyline`. */
|
||||
bounds: LatLngBounds;
|
||||
/** contains the copyrights text to be displayed for this route. You must handle and display this information yourself. */
|
||||
|
||||
Reference in New Issue
Block a user