Select to view content in your preferred language

ArcGIS Runtime SDK for Android 10.2.9 not displayed FeatureServer

438
0
09-11-2017 02:15 AM
Viết_KiêuNguyễn
New Contributor
String FEATURE_SERVER_AM = "http://220.231.126.125:6080/arcgis/rest/services/wsms_cnhd/WebAM/FeatureServer/0";

UserCredentials creds = new UserCredentials();
creds.setUserAccount(USER_NAME, PASSWORD);


ArcGISFeatureLayer secureFeatureLayer = new ArcGISFeatureLayer(
FEATURE_SERVER_AM,
MODE.ONDEMAND,
creds);
mMapView.addLayer(secureFeatureLayer);
0 Kudos
0 Replies