Skip to content

Commit 6ed8c9e

Browse files
committed
Merge branch 'main' into sample/Download-vector-tiles-to-local-cache
2 parents b23c0d3 + 2424ba2 commit 6ed8c9e

File tree

9 files changed

+13
-14
lines changed

9 files changed

+13
-14
lines changed

LICENSE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache License
1+
Apache License
22
Version 2.0, January 2004
33
http://www.apache.org/licenses/
44

@@ -186,7 +186,7 @@ Apache License
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2014 Esri
189+
Copyright 2017 Esri
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.
@@ -198,4 +198,4 @@ Apache License
198198
distributed under the License is distributed on an "AS IS" BASIS,
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201-
limitations under the License.
201+
limitations under the License.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ http://www.apache.org/licenses/LICENSE-2.0
7777

7878
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
7979

80-
A copy of the license is available in the repository's [license.txt](https://github.com/Esri/arcgis-android-sdk-gradle-samples/blob/main/LICENSE) file.
80+
A copy of the license is available in the repository's [LICENSE](LICENSE?raw=1) file

add-feature-layers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Tap the button on the bottom menu to add feature layers, from different sources,
4747

4848
## About the data
4949

50-
This sample uses the [Naperville damage assessment service](https://sampleserver7.arcgisonline.com/server/rest/services/DamageAssessment/FeatureServer/0), [Trees of Portland portal item](https://www.arcgis.com/home/item.html?id=1759fd3e8a324358a0c58d9a687a8578), [Los Angeles Trailheads geodatabase](https://www.arcgis.com/home/item.html?id=2b0f9e17105847809dfeb04e3cad69e0), [Aurora, Colorado GeoPackage](https://www.arcgis.com/home/item.html?id=68ec42517cdd439e81b036210483e8e7), and [Scottish Wildlife Trust Reserves Shapefile](https://www.arcgis.com/home/item.html?id=15a7cbd3af1e47cfa5d2c6b93dc44fc2).
50+
This sample uses the [Naperville damage assessment service](https://sampleserver7.arcgisonline.com/server/rest/services/DamageAssessment/FeatureServer/0), [Trees of Portland portal item](https://www.arcgis.com/home/item.html?id=1759fd3e8a324358a0c58d9a687a8578), [Los Angeles Trailheads geodatabase](https://www.arcgis.com/home/item.html?id=cb1b20748a9f4d128dad8a87244e3e37), [Aurora, Colorado GeoPackage](https://www.arcgis.com/home/item.html?id=68ec42517cdd439e81b036210483e8e7), and [Scottish Wildlife Trust Reserves Shapefile](https://www.arcgis.com/home/item.html?id=15a7cbd3af1e47cfa5d2c6b93dc44fc2).
5151

5252
The Scottish Wildlife Trust shapefile data is provided from Scottish Wildlife Trust under [CC-BY licence](https://creativecommons.org/licenses/by/4.0/). Data Copyright Scottish Wildlife Trust (2022).
5353

add-feature-layers/src/main/java/com/esri/arcgismaps/sample/addfeaturelayers/DownloadActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DownloadActivity : DownloaderActivity() {
1313
getString(R.string.app_name),
1414
listOf(
1515
// ArcGIS Portal item containing the .mmpk mobile map package
16-
"https://www.arcgis.com/home/item.html?id=2b0f9e17105847809dfeb04e3cad69e0",
16+
"https://www.arcgis.com/home/item.html?id=cb1b20748a9f4d128dad8a87244e3e37",
1717
// ArcGIS Portal item containing shapefiles of Scottish Wildlife Trust reserve boundaries
1818
"https://www.arcgis.com/home/item.html?id=15a7cbd3af1e47cfa5d2c6b93dc44fc2",
1919
// GeoPackage AuroraCO.gpkg with datasets that cover Aurora Colorado

add-feature-layers/src/main/java/com/esri/arcgismaps/sample/addfeaturelayers/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class MainActivity : AppCompatActivity() {
141141
geodatabase.load().onSuccess {
142142
// get the feature table with the name
143143
val geodatabaseFeatureTable =
144-
geodatabase.getGeodatabaseFeatureTable("Trailheads")
144+
geodatabase.getFeatureTable("Trailheads")
145145
if (geodatabaseFeatureTable == null) {
146146
showError("Feature table name not found in geodatabase")
147147
return

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subprojects {
1818
dependencies {
1919
implementation "androidx.appcompat:appcompat:$appcompatVersion"
2020
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
21-
implementation "arcgisruntime:arcgis-android:$arcgisVersion"
21+
implementation "com.esri:arcgis-maps-kotlin:$arcgisVersion"
2222
implementation "androidx.multidex:multidex:$multidexVersion"
2323
}
2424
}

find-nearest-vertex/src/main/java/com/esri/arcgismaps/sample/findnearestvertex/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class MainActivity : AppCompatActivity() {
124124

125125
// create a map using the portal item
126126
val map = ArcGISMap(statePlaneCaliforniaZone5SpatialReference)
127-
val portal = Portal("https://arcgisruntime.maps.arcgis.com", false)
127+
val portal = Portal("https://arcgisruntime.maps.arcgis.com")
128128
val portalItem = PortalItem(portal, "99fd67933e754a1181cc755146be21ca")
129129
val usStatesGeneralizedLayer = FeatureLayer(portalItem, 0)
130130
// and add the feature layer to the map's operational layers

generate-offline-map/src/main/java/com/esri/arcgismaps/sample/generateofflinemap/MainActivity.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class MainActivity : AppCompatActivity() {
7979
takeMapOfflineButton.isEnabled = false
8080

8181
// create a portal item with the itemId of the web map
82-
val portal = Portal(getString(R.string.portal_url), false)
82+
val portal = Portal(getString(R.string.portal_url))
8383
val portalItem = PortalItem(portal, getString(R.string.item_id))
8484

8585
// create a symbol to show a box around the extent we want to download
@@ -94,8 +94,8 @@ class MainActivity : AppCompatActivity() {
9494
}
9595
.onSuccess {
9696
// limit the map scale to the largest layer scale
97-
map.maxScale = map.operationalLayers[6].maxScale
98-
map.minScale = map.operationalLayers[6].minScale
97+
map.maxScale = map.operationalLayers[6].maxScale ?: 0.0
98+
map.minScale = map.operationalLayers[6].minScale ?: 0.0
9999
// set the map to the map view
100100
mapView.map = map
101101
// add the graphics overlay to the map view when it is created

version.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ ext {
1212
appcompatVersion = '1.3.0'
1313
constraintLayoutVersion = '2.1.4'
1414
multidexVersion = '2.0.1'
15-
arcgisVersion = '200.0.0-3694'
16-
arcgisToolkitVersion = '200.0.0-3694'
15+
arcgisVersion = '200.0.0-3709'
1716
materialVersion = '1.6.1'
1817
recyclerViewVersion = '1.1.0'
1918
// plugin versions

0 commit comments

Comments
 (0)