cmapi-kotlin
v1.1.0
Published
cmapi-kotlin description
Downloads
4
Readme
Common Map API (CMAPI)-Kotlin
A port of the Common Map API version 2 for the Kotlin language, supporting both Java and Javascript in a single baseline.
What is CMAPI-Kotlin?
CMAPI-Kotlin is the Common Map API version 2 written in the Kotlin 1.2-Beta version.
Why we made CMAPI-Kotlin?
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.
How to Build CMAPI-Kotlin
run
./gradlew build
Jar File
The exported jar will be located in the directory: cmapi-kotlin-jvm/build/libs/cmapi-multi-jvm.jar
Javascript File
The exported javascript will be located in the directory: cmapi-kotlin-js/build/classes/main/cmapi-multi-js.js
Javascript dependencies
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
.