Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bailuk/mapsforge-gtk
Mapsforge module for java-gtk
https://github.com/bailuk/mapsforge-gtk
Last synced: 10 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T20:48:43.000Z (11 months ago)
- Last Synced: 2024-10-25T09:28:03.047Z (about 2 months 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
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](http://www.gnu.org/licenses/lgpl-3.0)
[![Build on ubuntu](https://github.com/bailuk/mapsforge-gtk/actions/workflows/build-on-ubuntu.yml/badge.svg)](https://github.com/bailuk/mapsforge-gtk/actions/workflows/build-on-ubuntu.yml)
[![JitPack](https://jitpack.io/v/bailuk/mapsforge-gtk.svg)](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
![Desktop GTK4](doc/screenshot.png)
## 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")
}
```