I'm trying to display a mmpk map. I get some of the details but i'm not getting the details from the layers with in the mmpk. there are about 7 layers in this file.
here is the code to make sure these are visible. I'm doing this within a
addDoneLoadingListener when the map is loaded.
LayerList llist = mMap.getOperationalLayers();
for (int i = 0; i < llist.size(); ++i)
{
FeatureLayer featureLayer = (FeatureLayer)llist.get( i ) ;
if(featureLayer != null)
{
featureLayer.setLabelsEnabled(true);
featureLayer.setVisible( true );
}
}
Any suggestions on what might be wrong.
Note this was my first attempt:
for (int i = 0; i < llist.size(); ++i)
{
llist.get( i ).setVisible( true );
}