Skip to content

Commit 30e67db

Browse files
committed
added compose sample viewer design
1 parent e33cffb commit 30e67db

File tree

2,489 files changed

+24564
-40841
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,489 files changed

+24564
-40841
lines changed

README.md

+29-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1-
# ArcGIS Maps SDK Kotlin Samples
1+
# ArcGIS Maps SDK Kotlin Samples
2+
3+
[![Link: ArcGIS Developers home](https://img.shields.io/badge/ArcGIS%20Developers%20Home-633b9b?style=flat-square)](https://developers.arcgis.com)
4+
[![Link: Documentation](https://img.shields.io/badge/Documentation-633b9b?style=flat-square)](https://developers.arcgis.com/kotlin/)
5+
[![Link: Tutorials](https://img.shields.io/badge/Tutorials-633b9b?style=flat-square)](https://developers.arcgis.com/documentation/mapping-apis-and-services/tutorials/)
6+
[![Badge: Samples](https://img.shields.io/badge/Samples-633b9b?style=flat-square)](https://developers.arcgis.com/kotlin/sample-code/)
7+
[![Link: Toolkit](https://img.shields.io/badge/Toolkit-633b9b?style=flat-square)](https://developers.arcgis.com/kotlin/toolkit/)
8+
[![Link: Esri Community](https://img.shields.io/badge/🙋-Get%20help%20in%20Esri%20Community-633b9b?style=flat-square)](https://community.esri.com/t5/kotlin-maps-sdk-questions/bd-p/kotlin-maps-sdk-questions)
9+
10+
<a href='https://play.google.com/store/apps/details?id=com.esri.arcgismaps.kotlin.sampleviewer'> <img src='https://github.com/user-attachments/assets/924c2721-9a8a-4387-8fa2-c1b6f99f6bac' alt='Get it on Google Play' width="150" /></a>
211

312
## Overview
413

5-
ArcGIS Maps SDK for Kotlin v200.5.0 samples. The `main` branch of this repository contains sample app modules for the latest available version of the [ArcGIS Maps SDK Android Kotlin](https://developers.arcgis.com/kotlin/). Samples released under older versions can be found through the [git tags](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tags). Please read our [wiki](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/wiki) for help with working with this repository.
14+
ArcGIS Maps SDK for Kotlin v200.6.0 samples. The `main` branch of this repository contains sample app modules for the latest available version of the [ArcGIS Maps Kotlin SDK](https://developers.arcgis.com/kotlin/). Samples released under older versions can be found through the [git tags](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tags). Please read our [wiki](https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/wiki) for help with working with this repository.
615

716
## Prerequisites
817

9-
* The samples are building with `compileSdkVersion 33`
18+
* The samples are building with `compileSdkVersion 35`
1019
* [Android Studio](http://developer.android.com/sdk/index.html)
1120
* [An ArcGIS Developers API key](https://developers.arcgis.com/kotlin/get-started/#3-get-an-api-key)
1221

@@ -31,11 +40,11 @@ A long-lived access token that gives your application access to ArcGIS location
3140
* **Location services** > **Geocoding**
3241
* **Location services** > **Routing**
3342

34-
The Android samples in this repository have been structured to use an API key, set once, which will run in all samples.
35-
Set your API key in the `gradle.properties` file located in the `/.gradle` folder within your home directory.
36-
The API_KEY property should contain quotes around the key itself:
43+
The Kotlin samples in this repository have been structured to use an access token, set once, which will run in all samples.
44+
Set your access token in the `local.properties` in the same folder as the `secrets.defauls.properties`.
45+
The ACCESS_TOKEN property should contain quotes around the key itself:
3746
```gradle
38-
API_KEY = "YOUR_API_KEY" // path: /Users/<user_name>/.gradle/gradle.properties
47+
ACCESS_TOKEN="YOUR_ACCESS_TOKEN" // local.properties
3948
```
4049

4150
### ArcGIS identity
@@ -62,7 +71,7 @@ $ ./gradlew assembleDebug
6271
adb -d install path/to/sample.apk
6372
```
6473

65-
Built APK's are saved to **arcgis-maps-sdk-kotlin-samples/[module-name]/build/outputs/apk/**. More information about running apps on devices can be found [here](https://developer.android.com/studio/run/device.html).
74+
Built APK's are saved to **arcgis-maps-sdk-kotlin-samples/app/build/outputs/**. More information about running apps on devices can be found [here](https://developer.android.com/studio/run/device.html).
6675

6776
## Issues
6877

@@ -83,6 +92,18 @@ Anyone and everyone is welcome to [contribute](.github/CONTRIBUTING.md). We do a
8392

8493
Please see our [guidelines for contributing doc](https://github.com/Esri/contributing/blob/master/README.md)
8594

95+
## Third-Party Libraries
96+
97+
This project uses the following third-party libraries:
98+
99+
- **[Showdown](https://github.com/showdownjs/showdown/blob/master/LICENSE)**
100+
- License: MIT License
101+
- Copyright: 2018, 2021
102+
103+
- **[Highlight.js](https://github.com/highlightjs/highlight.js/blob/main/LICENSE)**
104+
- License: BSD 3-Clause License
105+
- Copyright: 2006, Ivan Sagalaev
106+
86107
## Licensing
87108

88109
Copyright 2022 Esri

add-3d-tiles-layer/build.gradle.kts

-54
This file was deleted.

add-3d-tiles-layer/proguard-rules.pro

-21
This file was deleted.

add-3d-tiles-layer/src/main/AndroidManifest.xml

-24
This file was deleted.

add-3d-tiles-layer/src/main/java/com/esri/arcgismaps/sample/add3dtileslayer/MainActivity.kt

-55
This file was deleted.

add-3d-tiles-layer/src/main/res/drawable-v24/ic_launcher_foreground.xml

-34
This file was deleted.

0 commit comments

Comments
 (0)