Skip to content

Commit 94971d9

Browse files
committed
fix(example): mapStyle type
1 parent 546fcb5 commit 94971d9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

example/src/data/mapStylesData.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import type { RNMapStyleElement } from 'react-native-google-maps-plus';
2-
3-
export const standardMapStyle: RNMapStyleElement[] = [
1+
export const standardMapStyle: any[] = [
42
{ featureType: 'poi.attraction', stylers: [{ visibility: 'off' }] },
53
{ featureType: 'poi.business', stylers: [{ visibility: 'off' }] },
64
{ featureType: 'poi.government', stylers: [{ visibility: 'off' }] },
@@ -15,7 +13,7 @@ export const standardMapStyle: RNMapStyleElement[] = [
1513
{ featureType: 'poi.sports_complex', stylers: [{ visibility: 'off' }] },
1614
];
1715

18-
export const silverMapStyle: RNMapStyleElement[] = [
16+
export const silverMapStyle: any[] = [
1917
{ featureType: 'poi.attraction', stylers: [{ visibility: 'off' }] },
2018
{ featureType: 'poi.business', stylers: [{ visibility: 'off' }] },
2119
{ featureType: 'poi.government', stylers: [{ visibility: 'off' }] },

0 commit comments

Comments
 (0)