POST
|
Hi Yue Wu, Charles are Wireshark were the first two applications that I tried. 1. You want to make sure is when checking the request is it return 200 or 4xx, 5xx error. Based on the requests you will get more insight what's going on. The funny thing here is that I get 404 error since the tile url, that SDK tries to create, does not correspond to TileMatrixSetLink inside of WMTSCapabilities.xml. Charles returns: ... http://xxx/1.0.0/WMTSCapabilities.xmlSERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&style=(null)&layer=by_webkarte&TileMatrixSet=bvv_gk4&TileMatrix=2&TileRow=0&TileCol=2&format=image/ ... 2. Do you only load this AGSWMTSLayeror you have other featureLayers load as well? The spatial reference also may causing the AGSWMTSLayer not show up. I only load AGSWMTSLayer without any featureLayers. The spatial reference of the map is also properly loaded (from your code snippet: WMTSLayer: AGSSpatialReference: wkid = 31468, wkt = null) Thank you, Best regards. Amel
... View more
04-17-2017
01:05 PM
|
0
|
1
|
457
|
POST
|
Hi Yue Wu, thank you for your response. Even if I set the tileMatrixSet property, it still does not work. Did you try to run your code snippet with the url that I provided? Thank you. Amel
... View more
04-17-2017
02:54 AM
|
0
|
3
|
457
|
POST
|
Hello Esri Community, I experience some issues while loading a AGSWMTSLayer on iOS devices. The only thing I see is a grid which shows a user's location. Since the production URL of the map that I use in my project is under NDA, I cannot post it publicly so I've found an equivalent one, which does not work but has the same structure. Here is the code: #define wmtsURL @"https://www.orka-mv.de/geodienste/orkamv/wmts/1.0.0/WMTSCapabilities.xml"
- (void)viewDidLoad
{
[super viewDidLoad];
self.mapView.layerDelegate = self;
self.wmtsInfo = [[AGSWMTSInfo alloc] initWithURL: [NSURL URLWithString:wmtsURL]];
self.wmtsInfo.delegate = self;
}
- (void) wmtsInfoDidLoad:(AGSWMTSInfo *) wmtsInfo{
NSArray *layerInfos = [wmtsInfo layerInfos];
AGSWMTSLayerInfo *layerInfo = [layerInfos objectAtIndex:0];
self.wmtsLayer = [wmtsInfo wmtsLayerWithLayerInfo:layerInfo andSpatialReference:nil];
[self.mapView addMapLayer:self.wmtsLayer withName:@"wmts Layer"];
} I've also made an equivalent code for Android and a map is loaded. However I still struggle with the iOS ArcGIS SDK. Does anyone experience the same issue? Thanks in advance.
... View more
04-06-2017
01:25 PM
|
0
|
5
|
1024
|
POST
|
Hi everyone! Since couple of days I am trying to animate the pin drop on the AGSMapView but without success. What I actually want to achieve is something like pin.animatesDrop = YES; for the standard iOS MapKit. Does anyone of you know how to do this? All the best to all and thanks, Amel
... View more
03-20-2013
06:24 AM
|
0
|
1
|
2697
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|