Ground Overlays v100

497
3
11-01-2018 07:37 AM
AndrewThielen
New Contributor

Our application currently uses version 10.x of the ArcGis iOS SDK, and we are looking at updating to 100. The main API we utilize provides us with a PNG image and the extent of that image. Currently, we use a subclassed version of AGSDynamicLayer to display the image as an overlay on the map, but it appears AGSDynamicLayer has been removed from the SDK in 100. 

Is there an alternative we can use to just tie a PNG to an extent? We are looking for something equivalent to GMSGroundOverlay in the Google Maps SDK.

0 Kudos
3 Replies
MarkDostal
Esri Contributor

Take a look at the AGSArcGISMapImageLayer class in the v100.4 SDK.

0 Kudos
AndrewThielen
New Contributor

Will this work if we already have the UIImage in memory? The API we use isnt an ArcGIS server. It just provides us with the raw PNG data and the extent it occupies.

0 Kudos
MarkDostal
Esri Contributor

Andrew, thanks for the clarification and sorry for the confusion.  Can you shed some light on what method(s) on AGSDynamicLayer you're using in your subclass?  And at the same time, can you take a look at AGSRaster and see if that works for you?

We have a sample which uses a .tif file here.

Thanks,

Mark

0 Kudos