AGSWMTSInfo *wmtsinfo = [[AGSWMTSInfo alloc] initWithURL:[NSURL URLWithString:@"http://v2.suite.opengeo.org/geoserver/gwc/service/wmts/"]]; wmtsinfo.delegate = self;
I am having the same problem. I have created a property . Still I can only see the grids of the map,.
When I check the requests (using wireshark) I see the url request isnt formed properly. (Compared with Android.)
Can anyone help ?
Hi Mikko,
I use this syntax can successfully view this AGSWMTSLayer:
AGSWMTSLayer *wmtsLayer = [AGSWMTSLayer wmtsLayerWithUrl:[NSURL URLWithString:@"http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts"] title:@"topo2" imageFormat:AGSImageFormatJPG tileMatrixSet:@"EPSG:32633"];
However, when I switch to this wmtslayer it doesn't work: http://v2.suite.opengeo.org/geoserver/gwc/service/wmts/
AGSWMTSLayer *wmtsLayer = [AGSWMTSLayer wmtsLayerWithUrl:[NSURL URLWithString:wmtsURL] title:@"Countries of the World" imageFormat:AGSImageFormatJPEG tileMatrixSet:@"EPSG:4326"];
I use Charles, a proxy debug tool found that error is 500, said default while fetching modifiable parameters for LAYER opengeo:countries
(as screenshot) I will try to see if I got any luck. But one thing for sure the syntax is fine but specific to WMTSLayer.