From 1e5786baeffd436ef5b9b912912b185d76d8410e Mon Sep 17 00:00:00 2001 From: Jan Trejbal Date: Thu, 18 Jun 2015 14:17:16 +0200 Subject: [PATCH] Fix MapTypeStyle (elementType and featureType accept only string) --- 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 2250527c3..fdd5eeaf2 100644 --- a/googlemaps/google.maps.d.ts +++ b/googlemaps/google.maps.d.ts @@ -225,7 +225,7 @@ declare module google.maps { setStyle(style: Data.StylingFunction|Data.StyleOptions): void; toGeoJson(callback: (feature: Object) => void): void; } - + export module Data { export interface DataOptions { map?: Map; @@ -1204,8 +1204,8 @@ declare module google.maps { } export interface MapTypeStyle { - elementType?: MapTypeStyleElementType; - featureType?: MapTypeStyleFeatureType; + elementType?: string|MapTypeStyleElementType; + featureType?: string|MapTypeStyleFeatureType; stylers?: MapTypeStyler[]; }