This article describes how to integrate the library in your project with Maven and JitPack repositories.
Package: org.mapsforge
Package: com.github.mapsforge.vtm
repositories {
maven { url 'https://jitpack.io' }
}implementation '[PACKAGE]:vtm:[CURRENT-VERSION]'
implementation '[PACKAGE]:vtm-themes:[CURRENT-VERSION]'runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-armeabi-v7a'
runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-arm64-v8a'
runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-x86'
runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-x86_64'
implementation '[PACKAGE]:vtm-android:[CURRENT-VERSION]'
implementation 'com.caverock:androidsvg:1.4'runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-armeabi-v7a'
runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-arm64-v8a'
runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-x86'
runtimeOnly '[PACKAGE]:vtm-android:[CURRENT-VERSION]:natives-x86_64'
implementation '[PACKAGE]:vtm-android:[CURRENT-VERSION]'
implementation '[PACKAGE]:vtm-gdx:[CURRENT-VERSION]'
runtimeOnly '[PACKAGE]:vtm-android-gdx:[CURRENT-VERSION]:natives-armeabi-v7a'
runtimeOnly '[PACKAGE]:vtm-android-gdx:[CURRENT-VERSION]:natives-arm64-v8a'
runtimeOnly '[PACKAGE]:vtm-android-gdx:[CURRENT-VERSION]:natives-x86'
runtimeOnly '[PACKAGE]:vtm-android-gdx:[CURRENT-VERSION]:natives-x86_64'
implementation '[PACKAGE]:vtm-android-gdx:[CURRENT-VERSION]'
implementation 'com.badlogicgames.gdx:gdx:1.11.0'
implementation 'com.badlogicgames.gdx:gdx-backend-android:1.11.0'
implementation 'com.caverock:androidsvg:1.4'Detailed iOS instructions can be found here.
implementation '[PACKAGE]:vtm-gdx:[CURRENT-VERSION]'
implementation '[PACKAGE]:vtm-desktop:[CURRENT-VERSION]'
runtimeOnly '[PACKAGE]:vtm-desktop:[CURRENT-VERSION]:natives-linux'
runtimeOnly '[PACKAGE]:vtm-desktop:[CURRENT-VERSION]:natives-osx'
runtimeOnly '[PACKAGE]:vtm-desktop:[CURRENT-VERSION]:natives-windows'
implementation 'com.badlogicgames.gdx:gdx:1.11.0'
runtimeOnly 'com.badlogicgames.gdx:gdx-platform:1.11.0:natives-desktop'
implementation 'guru.nidi.com.kitfox:svgSalamander:1.1.3'
implementation 'net.sf.kxml:kxml2:2.3.0'implementation '[PACKAGE]:vtm-desktop-lwjgl:[CURRENT-VERSION]'
implementation 'com.badlogicgames.gdx:gdx-backend-lwjgl:1.11.0'
implementation 'org.lwjgl.lwjgl:lwjgl:2.9.3'
runtimeOnly 'org.lwjgl.lwjgl:lwjgl-platform:2.9.3:natives-linux'
runtimeOnly 'org.lwjgl.lwjgl:lwjgl-platform:2.9.3:natives-osx'
runtimeOnly 'org.lwjgl.lwjgl:lwjgl-platform:2.9.3:natives-windows'implementation '[PACKAGE]:vtm-desktop-lwjgl3:[CURRENT-VERSION]'
implementation 'com.badlogicgames.gdx:gdx-backend-lwjgl3:1.11.0'
implementation 'org.lwjgl:lwjgl:3.3.1'
runtimeOnly 'org.lwjgl:lwjgl:3.3.1:natives-linux'
runtimeOnly 'org.lwjgl:lwjgl:3.3.1:natives-macos'
runtimeOnly 'org.lwjgl:lwjgl:3.3.1:natives-windows'implementation '[PACKAGE]:vtm-jts:[CURRENT-VERSION]'
implementation 'org.locationtech.jts:jts-core:1.20.0'implementation '[PACKAGE]:vtm-http:[CURRENT-VERSION]'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.squareup.okio:okio:3.6.0'
implementation 'com.squareup.okio:okio-jvm:3.6.0'implementation '[PACKAGE]:vtm-android-mvt:[CURRENT-VERSION]'
implementation '[PACKAGE]:vtm-mvt:[CURRENT-VERSION]'
implementation 'com.google.protobuf:protobuf-java:3.6.1'
implementation 'com.wdtinc:mapbox-vector-tile:3.1.0'
implementation 'org.locationtech.jts:jts-core:1.20.0'implementation '[PACKAGE]:vtm-mvt:[CURRENT-VERSION]'
implementation 'com.google.protobuf:protobuf-java:3.6.1'
implementation 'com.wdtinc:mapbox-vector-tile:3.1.0'
implementation 'org.locationtech.jts:jts-core:1.20.0'implementation '[PACKAGE]:vtm-json:[CURRENT-VERSION]'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.9.9'
implementation 'com.fasterxml.jackson.core:jackson-core:2.9.9'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.9'implementation '[PACKAGE]:vtm-jeo:[CURRENT-VERSION]'
implementation 'com.github.jeo.jeo:jeo-carto:master-SNAPSHOT'We publish SNAPSHOT builds to Sonatype OSS Repository Hosting.
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}implementation 'org.mapsforge:vtm:master-SNAPSHOT'For checking latest snapshot on every build:
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}You can find release and snapshot jars on Maven Central and Sonatype OSS Repository Hosting.