Skip to content

Mapsforge module for java-gtk

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

bailuk/mapsforge-gtk

Repository files navigation

License: LGPL v3 Build on ubuntu JitPack

Mapsforge GTK

GTK4 based implementation of the Mapsforge MapView. It is made with java-gtk

Screenshot

Desktop GTK4

Compile and install

# build
./gradlew mapsforge-map-gtk:build

# install to local maven repository 
./gradlew mapsforge-map-gtk:publishToMavenLocal

# run sample
./gradlew mapsforge-map-samples-gtk:run

Integration

Library is available via JitPack.
Minimal example application: mapsforge-samples-gtk/src/main/java/HelloMap.java

// build.gradle.kts
plugins {
    application
}

repositories {
    maven { url = uri("https://jitpack.io") }
}

dependencies {
    implementation("com.github.bailuk:mapsforge-gtk:0.4.0")
}

application {
    mainClass.set("HelloMap")
}