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:
Colin Doig
2019-07-01 10:17:10 -07:00
committed by Ryan Cavanaugh
parent 06ed1c2d10
commit d105458a1b
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -97,6 +97,8 @@ map.panToBounds(
}
);
map.getProjection() // $ExpectType Projection | null
/***** Data *****/
new google.maps.Data();
+1 -1
View File
@@ -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;