|
@@ -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>;
|
|
|
}
|