|
@@ -198,7 +198,7 @@ export default function SelectOwnMapScreen({ navigation, route }) {
|
|
const calculateEstimatedSizeFromSelector = async (bounds) => {
|
|
const calculateEstimatedSizeFromSelector = async (bounds) => {
|
|
try {
|
|
try {
|
|
const options = {
|
|
const options = {
|
|
- styleURL: `${VECTOR_MAP_HOST}/nomadmania-maps.json`,
|
|
|
|
|
|
+ styleURL: `${VECTOR_MAP_HOST}/nomadmania-maps2025.json`,
|
|
bounds: [
|
|
bounds: [
|
|
[bounds.west, bounds.south],
|
|
[bounds.west, bounds.south],
|
|
[bounds.east, bounds.north]
|
|
[bounds.east, bounds.north]
|
|
@@ -311,7 +311,7 @@ export default function SelectOwnMapScreen({ navigation, route }) {
|
|
|
|
|
|
const offlinePackOptions = {
|
|
const offlinePackOptions = {
|
|
name: packId,
|
|
name: packId,
|
|
- styleURL: `${VECTOR_MAP_HOST}/nomadmania-maps.json`,
|
|
|
|
|
|
+ styleURL: `${VECTOR_MAP_HOST}/nomadmania-maps2025.json`,
|
|
bounds: [
|
|
bounds: [
|
|
[selectorBounds.west, selectorBounds.south],
|
|
[selectorBounds.west, selectorBounds.south],
|
|
[selectorBounds.east, selectorBounds.north]
|
|
[selectorBounds.east, selectorBounds.north]
|
|
@@ -341,7 +341,7 @@ export default function SelectOwnMapScreen({ navigation, route }) {
|
|
updatedAt: Date.now(),
|
|
updatedAt: Date.now(),
|
|
status: 'downloading',
|
|
status: 'downloading',
|
|
progress: 0,
|
|
progress: 0,
|
|
- styleURL: `${VECTOR_MAP_HOST}/nomadmania-maps.json`,
|
|
|
|
|
|
+ styleURL: `${VECTOR_MAP_HOST}/nomadmania-maps2025.json`,
|
|
minZoom: 10,
|
|
minZoom: 10,
|
|
maxZoom: 20,
|
|
maxZoom: 20,
|
|
tilesCount: tilesCount
|
|
tilesCount: tilesCount
|
|
@@ -410,7 +410,7 @@ export default function SelectOwnMapScreen({ navigation, route }) {
|
|
<MapLibreGL.MapView
|
|
<MapLibreGL.MapView
|
|
ref={map}
|
|
ref={map}
|
|
style={styles.map}
|
|
style={styles.map}
|
|
- mapStyle={`${VECTOR_MAP_HOST}/nomadmania-maps.json`}
|
|
|
|
|
|
+ mapStyle={`${VECTOR_MAP_HOST}/nomadmania-maps2025.json`}
|
|
onDidFinishLoadingMap={onMapLoad}
|
|
onDidFinishLoadingMap={onMapLoad}
|
|
onRegionDidChange={(feature) => onRegionDidChange(feature)}
|
|
onRegionDidChange={(feature) => onRegionDidChange(feature)}
|
|
>
|
|
>
|