AnsweredAssumed Answered

Image Serivce not showing with ios sdk beta 3 but it does with 10.2.5

Question asked by ramba109 on Oct 29, 2016
Latest reply on Nov 28, 2016 by DGoyal-esristaff

The ImageSerivce not showing with ios SDK Beta 3 Quartz, like this:

//create a map image layer using a url

let mapImageLayer = AGSArcGISMapImageLayer(URL: NSURL(string:"my url/

ImageServer")!)

//initialize the map

self.map = AGSMap()

//add the image layer to the map

self.map.operationalLayers.addObject(mapImageLayer)

self.mapView.map = self.map

 

But it woks like this with version 10.2.5 ios SDK.

let mapImageLayer = NSURL(string: "my url/ImageServer")

let layer = AGSImageServiceLayer(url: mapImageLayer as URL!)

 

self.mapView.addMapLayer(layer)

 

Is there a bug in ios SDK Beta 3 Quartz or what? any ideas?

ios sdk beta3 

/Rami 

 

Outcomes