Skip to content

Commit 7c38eae

Browse files
committed
Fix type for compiler (OS.coordinates)
1 parent 822b760 commit 7c38eae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Providers/Maps/Google/Shape/Polygon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Provider.Maps.Google.Shape {
1818
protected _createProvider(path: Array<OSFramework.Maps.OSStructures.OSMap.Coordinates>): google.maps.Polygon {
1919
return new google.maps.Polygon({
2020
map: this.map.provider,
21-
paths: path,
21+
paths: path as google.maps.LatLngLiteral[],
2222
...(this.getProviderConfig() as Configuration.Shape.IShapeProviderConfig),
2323
});
2424
}

0 commit comments

Comments
 (0)