mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
googlemaps - google.maps.Map.getProjection() can return null (#36559)
* add ImageMapType properties. ImageMapTypeOptions.tileSize is required add StyledMapType properties * google.maps.Map.getProjection() can return null. * google.maps.Map.getProjection() can return null.
This commit is contained in:
committed by
Ryan Cavanaugh
parent
06ed1c2d10
commit
d105458a1b
@@ -97,6 +97,8 @@ map.panToBounds(
|
||||
}
|
||||
);
|
||||
|
||||
map.getProjection() // $ExpectType Projection | null
|
||||
|
||||
/***** Data *****/
|
||||
|
||||
new google.maps.Data();
|
||||
|
||||
Vendored
+1
-1
@@ -51,7 +51,7 @@ declare namespace google.maps {
|
||||
getDiv(): Element;
|
||||
getHeading(): number;
|
||||
getMapTypeId(): MapTypeId | string;
|
||||
getProjection(): Projection;
|
||||
getProjection(): Projection | null;
|
||||
getStreetView(): StreetViewPanorama;
|
||||
getTilt(): number;
|
||||
getZoom(): number;
|
||||
|
||||
Reference in New Issue
Block a user