guzmand

Problems with tiff files in offline mode

Discussion created by guzmand on May 12, 2014
Latest reply on Jul 13, 2014 by ebader-esristaff
Hi,

I am interested in use the offline mode. I have a satellite map in tif format (with the GIS info embedded), but I'm not able to load it using the EsriRuntimeQt::ArcGISLocalTiledLayer class, I only get a blank panel. I'm able to load the tpk examples but not this image, it is possible to use this kind of files or should I convert the picture to a tpk file using Arcgis Desktop?

Please find below the snippet of code I'm  using:

QString tiledBaseMapLayer = "~/Downloads/maps/california/IMG_PHR.TIF";
EsriRuntimeQt::ArcGISLocalTiledLayer    m_tiledLayer = EsriRuntimeQt::ArcGISLocalTiledLayer(tiledBaseMapLayer); 
m_map.addLayer(m_tiledLayer);

Thanks,

David

Outcomes