One compact Kotlin app demonstrates the GLMap 2.0 API. The catalog mirrors the iOS demo and groups each example by feature: map display, camera, draw objects, vector data, search, routing, and offline data.
The Demo Mode button above the catalog runs the same automatic SDK tour as the iOS app. The individual catalog screens remain the compact API examples to learn from.
- Create an API key at https://user.globus.software/apps/.
- Replace
YOUR_API_KEYinkotlinDemo/src/main/res/values/strings.xmllocally. Do not commit a real key. - Open this directory in Android Studio and run
kotlinDemo.
To build against the GLMap sources in the parent repository:
./gradlew :kotlinDemo:assembleDebug -PuseLocalGLMap=trueWithout useLocalGLMap, Gradle resolves the published globus:glmap, globus:glsearch, and globus:glroute artifacts for the version declared in build.gradle.
The demo targets Android SDK 37. Most screens construct their UI in Kotlin so the GLMap calls stay visible in one short feature file under kotlinDemo/src/main/java/globus/demo.
API documentation: https://globus.software/docs