From d3dd026976a30f25e16e3677dd72dcb39af333ef Mon Sep 17 00:00:00 2001 From: mcivort Date: Thu, 11 Jun 2015 16:11:37 -0600 Subject: [PATCH] Add ability to specify custom map types --- googlemaps/google.maps.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/googlemaps/google.maps.d.ts b/googlemaps/google.maps.d.ts index ecf319c83b..2250527c3a 100644 --- a/googlemaps/google.maps.d.ts +++ b/googlemaps/google.maps.d.ts @@ -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; }