Skip to content

Commit

Permalink
Fix for xyz downloads. 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tyburg committed Apr 6, 2021
1 parent ea6cdf8 commit febe8b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions mapcache-ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1342,14 +1342,14 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 44;
CURRENT_PROJECT_VERSION = 45;
DEVELOPMENT_TEAM = ZL8G5D9G2H;
ENABLE_TESTABILITY = YES;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = "mapcache-ios/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.0.3;
MARKETING_VERSION = 2.0.4;
PRODUCT_BUNDLE_IDENTIFIER = mil.nga.mapcache;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand All @@ -1368,13 +1368,13 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 44;
CURRENT_PROJECT_VERSION = 45;
DEVELOPMENT_TEAM = ZL8G5D9G2H;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = "mapcache-ios/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.0.3;
MARKETING_VERSION = 2.0.4;
PRODUCT_BUNDLE_IDENTIFIER = mil.nga.mapcache;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand Down
2 changes: 1 addition & 1 deletion mapcache-ios/data/MCTileServerRepository.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ import Foundation
let tileServer = MCTileServer.init(serverName: urlString)
tileServer.url = urlString;

if (urlString.contains("{x}") && urlString.contains("{y}") && urlString.contains("{x}")) {
if (urlString.contains("{z}") && urlString.contains("{y}") && urlString.contains("{x}")) {

editedURLString.replaceSubrange(editedURLString.range(of: "{x}")!, with: "0")
editedURLString.replaceSubrange(editedURLString.range(of: "{y}")!, with: "0")
Expand Down

0 comments on commit febe8b0

Please sign in to comment.