A port of the Common Map API version 2 for the Kotlin language, supporting both Java and Javascript in a single baseline.
CMAPI-Kotlin is the Common Map API version 2 written in the Kotlin 1.2-Beta version.
By using Kotlin 1.2-Beta we are able to export Common Map API version 2 to both Java and Javascript while maintaining a single code base.
run
./gradlew build
The exported jar will be located in the directory: cmapi-kotlin-jvm/build/libs/cmapi-multi-jvm.jar
The exported javascript will be located in the directory: cmapi-kotlin-js/build/classes/main/cmapi-multi-js.js
When using the Javascript file exported, you will also need the kotlin.js Javascript module. Please refer to
the Kotlin Documentation where it says to use npm install kotlin
.