UNPKG

1.52 kBTypeScriptView Raw
1declare namespace google.maps {
2 type MapTypeStyleFeatureType =
3 | 'all'
4 | 'administrative'
5 | 'administrative.country'
6 | 'administrative.land_parcel'
7 | 'administrative.locality'
8 | 'administrative.neighborhood'
9 | 'administrative.province'
10 | 'landscape'
11 | 'landscape.man_made'
12 | 'landscape.natural'
13 | 'landscape.natural.landcover'
14 | 'landscape.natural.terrain'
15 | 'poi'
16 | 'poi.attraction'
17 | 'poi.business'
18 | 'poi.government'
19 | 'poi.medical'
20 | 'poi.park'
21 | 'poi.place_of_worship'
22 | 'poi.school'
23 | 'poi.sports_complex'
24 | 'road'
25 | 'road.arterial'
26 | 'road.highway'
27 | 'road.highway.controlled_access'
28 | 'road.local'
29 | 'transit'
30 | 'transit.line'
31 | 'transit.station'
32 | 'transit.station.airport'
33 | 'transit.station.bus'
34 | 'transit.station.rail'
35 | 'water';
36
37 type MapTypeStyleElementType =
38 | 'all'
39 | 'geometry'
40 | 'geometry.fill'
41 | 'geometry.stroke'
42 | 'labels'
43 | 'labels.icon'
44 | 'labels.text'
45 | 'labels.text.fill'
46 | 'labels.text.stroke';
47
48 interface MapTypeStyler {
49 color?: string;
50 gamma?: number;
51 hue?: string;
52 invert_lightness?: boolean;
53 lightness?: number;
54 saturation?: number;
55 visibility?: string;
56 weight?: number;
57 }
58}