mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Merge pull request #4624 from mcivort/master
Update google.maps definitions for custom map types
This commit is contained in:
6
googlemaps/google.maps.d.ts
vendored
6
googlemaps/google.maps.d.ts
vendored
@@ -65,7 +65,7 @@ declare module google.maps {
|
||||
getCenter(): LatLng;
|
||||
getDiv(): Element;
|
||||
getHeading(): number;
|
||||
getMapTypeId(): MapTypeId;
|
||||
getMapTypeId(): MapTypeId | string;
|
||||
getProjection(): Projection;
|
||||
getStreetView(): StreetViewPanorama;
|
||||
getTilt(): number;
|
||||
@@ -75,7 +75,7 @@ declare module google.maps {
|
||||
panToBounds(latLngBounds: LatLngBounds): void;
|
||||
setCenter(latlng: LatLng): void;
|
||||
setHeading(heading: number): void;
|
||||
setMapTypeId(mapTypeId: MapTypeId): void;
|
||||
setMapTypeId(mapTypeId: MapTypeId | string): void;
|
||||
setOptions(options: MapOptions): void;
|
||||
setStreetView(panorama: StreetViewPanorama): void;
|
||||
setTilt(tilt: number): void;
|
||||
@@ -133,7 +133,7 @@ declare module google.maps {
|
||||
|
||||
/***** Controls *****/
|
||||
export interface MapTypeControlOptions {
|
||||
mapTypeIds?: MapTypeId[];
|
||||
mapTypeIds?: (MapTypeId | string)[];
|
||||
position?: ControlPosition;
|
||||
style?: MapTypeControlStyle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user