https://github.com/bailuk/mapsforge-gtk
Mapsforge module for java-gtk
https://github.com/bailuk/mapsforge-gtk
Last synced: about 1 year ago
JSON representation
Mapsforge module for java-gtk
- Host: GitHub
- URL: https://github.com/bailuk/mapsforge-gtk
- Owner: bailuk
- License: lgpl-3.0
- Created: 2022-06-12T16:16:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T17:40:35.000Z (over 1 year ago)
- Last Synced: 2025-03-17T18:42:41.204Z (over 1 year ago)
- Language: Java
- Size: 54 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
[](http://www.gnu.org/licenses/lgpl-3.0)
[](https://github.com/bailuk/mapsforge-gtk/actions/workflows/build-on-ubuntu.yml)
[](https://jitpack.io/#bailuk/mapsforge-gtk)
# Mapsforge GTK
GTK4 based implementation of the Mapsforge MapView. It is made with [java-gtk](https://github.com/bailuk/java-gtk)
## Screenshot

## Compile and install
```bash
# 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](https://jitpack.io/#bailuk/mapsforge-gtk).
Minimal example application: [mapsforge-samples-gtk/src/main/java/HelloMap.java](mapsforge-samples-gtk/src/main/java/HelloMap.java)
```kotlin
// 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")
}
```