Do I need to set a renderer for the AGSFeatureTableLayer while using offline maps

المشرف العام

Administrator
طاقم الإدارة
I am developing an app which allows user to access maps in disconnected mode (without internet connection).

This is what we did so far:Created a sync enabled feature service on ArcGIS server. The mobile client downloads geodatabase file from this feature service to use offline. For basemap I am also downloading a tpk file for offline use.

So far good but facing a problem :(- In online mode when I load the feature layer from feature service, the layer gets loaded and the features are rendered well based on the renderer set on service.

But in offline mode, when I add the feature layer (AGSFeatureTableLayer) from geodatabase file I see the rendering is not the same compared to online mode.

My question: Will the geodatabase file contain the rendering information? or is it something the developer should assign the renderer to the layer while adding the layer to map.

Please look into the images for reference. 1 - is the screenshot from offline map and 2 - is the screenshot for online map. On online map text with white color which are not visible in offline map.





Any related information or reference is appreciated.

Regards!



أكثر...
 
أعلى