From b9421479073861db91da6250ef0cb9978f652c72 Mon Sep 17 00:00:00 2001
From: psch
Date: Mon, 22 Jun 2020 18:39:58 +0200
Subject: [PATCH] updated the version of the ArcGIS toolkit
---
app/build.gradle | 4 ++--
app/src/main/java/com/paula/nativeAppNew/MainActivity.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index aa4e3c2..22eaa4c 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -41,8 +41,8 @@ android {
}
dependencies {
- implementation 'com.esri.arcgisruntime:arcgis-android:100.8.0'
- implementation 'com.esri.arcgisruntime:arcgis-android-toolkit:100.8.0'
+ implementation 'com.esri.arcgisruntime:arcgis-android:100.6.0'
+ implementation 'com.esri.arcgisruntime:arcgis-android-toolkit:100.6.1'
//implementation files('D:\\paula\\Documents\\NotFun\\Studium\\6.Semester\\Arcgis sdk experiment\\arcgis-runtime-toolkit-android\\arcgis-android-toolkit\\build\\outputs\\aar\\arcgis-android-toolkit-100.7.0-debug.aar')
implementation fileTree(dir: 'libs', include: ['*.jar'])
diff --git a/app/src/main/java/com/paula/nativeAppNew/MainActivity.java b/app/src/main/java/com/paula/nativeAppNew/MainActivity.java
index a9f14a1..3421a8e 100644
--- a/app/src/main/java/com/paula/nativeAppNew/MainActivity.java
+++ b/app/src/main/java/com/paula/nativeAppNew/MainActivity.java
@@ -118,7 +118,7 @@ private void addFeatureLayer(ArcGISScene mScene) {
serviceFeatureTable.queryFeaturesAsync(queryParams, ServiceFeatureTable.QueryFeatureFields.LOAD_ALL);
// add feature layer(s)
FeatureLayer featureLayer = new FeatureLayer(serviceFeatureTable);
- featureLayer.getSceneProperties().setSurfacePlacement(LayerSceneProperties.SurfacePlacement.RELATIVE_TO_SCENE);
+ featureLayer.getSceneProperties().setSurfacePlacement(LayerSceneProperties.SurfacePlacement.RELATIVE);
// set the feature layer to render dynamically to allow extrusion
featureLayer.setRenderingMode(FeatureLayer.RenderingMode.DYNAMIC);