Gradle DSL Implementation
// project level settings.gradle.kts
dependencyResolutionManagement {
repositories {
maven { url = uri("https://esri.jfrog.io/artifactory/arcgis") }
}
}
// app level build.gradle.kts
dependencies {
implementation("com.esri:arcgis-maps-kotlin:200.8.0")
}
Migrate from version 100.x to version 200.x
Visit the website doc for instructions to migrate to use ArcGIS Maps SDK for Kotlin.
Change log:
Visit the release notes page for details about enhancements in the 200.8 release of ArcGIS Maps SDK for Kotlin.
Release notes:
New samples
- Analysis
- Show service area
- Augmented Reality
- Augment reality to collect data
- Augment reality to navigate route
- Augment reality to show hidden infrastructure
- Edit & Manage Data
- Edit features with feature-linked annotation
- Edit geometries with programmatic reticle tool
- Layers
- Add map image layer
- Add point scene layer
- Add scene layer from service
- Add WFS layer
- Apply mosaic rule to rasters
- Browse OGC API feature service
- Display annotation
- Maps
- Display map from portal item
- Display overview map
- Take screenshot
- Visualizations
- Apply class breaks renderer to sublayer
- Apply raster rendering rule
- Apply simple renderer to feature layer
- Apply simple renderer to graphics overlay
- Apply scene property expressions
- Show realistic light and shadow
Enhancements
- Migrated 2 XML view-based samples to use Jetpack Compose, leveraging the GeoView-Compose Toolkit module.
- Combined Add scene layer with elevation into Add scene layer from service.
- Updated authentication samples (Authenticate with OAuth, Create and save map, Show portal user info) to showcase new 200.8 toolkit authentication workflows.
- Updated samples to use
minSDK = 28
andtargetSDK = 36
to match the Kotlin SDK. - Migrated to Android Gradle plugin
8.9.2
, compatible with Gradle version8.14
.