opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

V™


Development continues at https://github.com/mapsforge/vtm


VTM is developed within the OpenScienceMap project.

Features

Projects

The libgdx backends for GWT and iOS are very experimental.

Getting started

git clone --recursive https://github.com/opensciencemap/vtm

Install Android SDK and build-tools 20.0. From extras add 'Android Support Library/Repository' and 'Google Repository'. The commands below should set things up correctly when Android SDK is already installed.

export ANDROID_HOME=/path/to/your/android-sdk
./android-stuff.sh

Eclipse

./gradlew eclipse
Import all 'vtm' sub-projects into Eclipse.

Android-Studio

Just import build.gradle

Gradle

You can run gradle tasks directly (see also ./gradlew -q tasks):
./gradlew clean install
to build the libraries and add them to the local maven repository.
./gradlew :vtm-android-example:run
to run the android example
./gradlew :vtm-desktop:run
to run the desktop demo (only Linux64 and Win64 native libs are provided atm)
./gradlew :vtm-web-app:jettyDraftWar
to run the webgl demo

WebGL Demo

OpenScienceMap view of Bremen.

Credits

This library contains code from several projects: