1import CallbacksExample from '../screens/CallbacksExample';
2import CirclesExample from '../screens/CirclesExample';
3import ControlsExample from '../screens/ControlsExample';
4import GeoJsonExample from '../screens/GeoJsonExample';
5import GesturesExample from '../screens/GesturesExample';
6import GoogleMapsStylingExample from '../screens/GoogleMapsStylingExample';
7import HeatmapsExample from '../screens/HeatmapsExample';
8import KMLExample from '../screens/KMLExample';
9import MapMoveExample from '../screens/MapMoveExample';
10import MapTypesExample from '../screens/MapTypesExample';
11import MarkersExample from '../screens/MarkersExample';
12import OverlaysExample from '../screens/OverlaysExample';
13import POIExample from '../screens/POIExample';
14import PolygonsExample from '../screens/PolygonsExample';
15import PolylinesExample from '../screens/PolylinesExample';
16import TrafficExample from '../screens/TrafficExample';
17
18// TODO: Type this better
19interface ConcreteExampleScreen {
20  name:
21    | 'Markers'
22    | 'Polygons'
23    | 'Polylines'
24    | 'Circles'
25    | 'Controls'
26    | 'Google Maps Styling'
27    | 'Gestures'
28    | 'Map Types'
29    | 'Traffic'
30    | 'KML'
31    | 'GeoJson'
32    | 'Callbacks'
33    | 'POI'
34    | 'Overlays'
35    | 'Heatmaps'
36    | 'Map Move';
37  screen: (props: any) => JSX.Element;
38}
39
40export const CONCRETE_EXAMPLE_SCREENS: ConcreteExampleScreen[] = [
41  {
42    name: 'Markers',
43    screen: MarkersExample,
44  },
45  {
46    name: 'Map Move',
47    screen: MapMoveExample,
48  },
49  {
50    name: 'Polygons',
51    screen: PolygonsExample,
52  },
53  {
54    name: 'Polylines',
55    screen: PolylinesExample,
56  },
57  {
58    name: 'Circles',
59    screen: CirclesExample,
60  },
61  {
62    name: 'Controls',
63    screen: ControlsExample,
64  },
65  {
66    name: 'Google Maps Styling',
67    screen: GoogleMapsStylingExample,
68  },
69  {
70    name: 'Gestures',
71    screen: GesturesExample,
72  },
73  {
74    name: 'Map Types',
75    screen: MapTypesExample,
76  },
77  {
78    name: 'Traffic',
79    screen: TrafficExample,
80  },
81  {
82    name: 'KML',
83    screen: KMLExample,
84  },
85  {
86    name: 'GeoJson',
87    screen: GeoJsonExample,
88  },
89  {
90    name: 'Callbacks',
91    screen: CallbacksExample,
92  },
93  {
94    name: 'POI',
95    screen: POIExample,
96  },
97  {
98    name: 'Overlays',
99    screen: OverlaysExample,
100  },
101  {
102    name: 'Heatmaps',
103    screen: HeatmapsExample,
104  },
105];
106