Browse Source

map screen

Viktoriia 1 year ago
parent
commit
6f80c50eeb
1 changed files with 0 additions and 16 deletions
  1. 0 16
      src/screens/InAppScreens/MapScreen/index.tsx

+ 0 - 16
src/screens/InAppScreens/MapScreen/index.tsx

@@ -27,7 +27,6 @@ import { styles } from './style';
 import { findRegionInDataset, calculateMapRegion } from '../../../utils/mapHelpers';
 import { getData } from '../../../modules/map/regionData';
 
-
 const tilesBaseURL = 'https://maps.nomadmania.com/tiles_osm';
 const localTileDir = `${FileSystem.cacheDirectory}tiles`;
 
@@ -47,21 +46,6 @@ interface Region {
   visitors_count: number;
 }
 
-interface Feature {
-  geometry: turf.helpers.Geometry;
-  properties: {
-    id: number;
-    fill?: string;
-    stroke?: string;
-  };
-  type: 'Feature';
-}
-
-interface GeojsonRegion {
-  type: 'FeatureCollection';
-  features: Feature[];
-}
-
 interface MapScreenProps {
   navigation: BottomTabNavigationProp<any>;
 }