|
@@ -9,7 +9,10 @@
|
|
|
#import "ApexMapView.h"
|
|
#import "ApexMapView.h"
|
|
|
#import "UIView+RAConstraint.h"
|
|
#import "UIView+RAConstraint.h"
|
|
|
|
|
|
|
|
-static NSString * const kTileSource = @"https://map.apexshipping.com/osm_tiles/{z}/{x}/{y}.png";
|
|
|
|
|
|
|
+//static NSString * const kTileSource = @"https://map.apexshipping.com/osm_tiles/{z}/{x}/{y}.png";
|
|
|
|
|
+//static NSString * const kTileSource = @"https://map.apexshipping.com/osmmt/{z}/{x}/{y}.png";
|
|
|
|
|
+static NSString * const kTileSource = @"https://map.apexshipping.com/osmhd/{z}/{x}/{y}.png";
|
|
|
|
|
+static int const tileSize = 512;
|
|
|
static NSString * const kOpenStreetMapURL = @"https://www.openstreetmap.org/copyright";
|
|
static NSString * const kOpenStreetMapURL = @"https://www.openstreetmap.org/copyright";
|
|
|
static NSString * const kCopyright = @"OpenStreetMap";
|
|
static NSString * const kCopyright = @"OpenStreetMap";
|
|
|
|
|
|
|
@@ -97,6 +100,7 @@ static NSString * const kCopyright = @"OpenStreetMap";
|
|
|
_tileOverlay.canReplaceMapContent = YES;
|
|
_tileOverlay.canReplaceMapContent = YES;
|
|
|
_tileOverlay.minimumZ = 1;
|
|
_tileOverlay.minimumZ = 1;
|
|
|
_tileOverlay.maximumZ = 18;
|
|
_tileOverlay.maximumZ = 18;
|
|
|
|
|
+ _tileOverlay.tileSize = CGSizeMake(tileSize, tileSize);
|
|
|
}
|
|
}
|
|
|
return _tileOverlay;
|
|
return _tileOverlay;
|
|
|
}
|
|
}
|