a vector-tile map library written in java - running on android, desktop and within the browser
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
appcompat @ eead206
data/g3d
eclipse create eclipse configuration with gradle Feb 24, 2014
gradle/wrapper update gradle, fix #142 jeo dependencies Mar 19, 2015
jni
vtm-android-example example: add MapScaleBar Dec 3, 2014
vtm-android-gdx
vtm-android-start gradle: more fun Nov 20, 2014
vtm-android gradle: more fun Nov 20, 2014
vtm-desktop
vtm-ext-libs @ 194dac6 bring vtm-android-gdx back to life Oct 10, 2014
vtm-extras GeometryBuffer: switch to int[] indices Sep 19, 2014
vtm-gdx
vtm-ios nicer gl api Oct 10, 2014
vtm-jeo wip: StyleBuilder Oct 10, 2014
vtm-playground example: add building layer to mapforge example Nov 12, 2014
vtm-tests
vtm-themes
vtm-web-app
vtm-web-js gradle: update GWT Nov 3, 2014
vtm-web gradle: update GWT Nov 3, 2014
vtm fix: use same precision in vertex and fragment shaders Jun 17, 2015
.gitignore
.gitmodules gradle: update to 2.1 and android targetSdk 21 Oct 24, 2014
.travis.yml update gradle, fix #142 jeo dependencies Mar 19, 2015
COPYING
COPYING.LESSER move license files to root directory Jan 16, 2014
README.md Update README.md Aug 7, 2016
android-stuff.sh gradle: update to 2.1 and android targetSdk 21 Oct 24, 2014
build.gradle update gradle, fix #142 jeo dependencies Mar 19, 2015
eclipse-formatter.xml formatter Feb 7, 2014
gradle.properties gradle: update to 2.1 and android targetSdk 21 Oct 24, 2014
gradlew gradle stuff Feb 8, 2014
gradlew.bat gradle stuff Feb 8, 2014
jdee.gradle
settings.gradle gradle: update to 2.1 and android targetSdk 21 Oct 24, 2014
vtm-pmd.xml

README.md

V™


Development continues at https://github.com/mapsforge/vtm #
VTM is developed within the OpenScienceMap project.

Features

  • Java map library
  • OpenGL vector-tile rendering
  • Themeable vector layers
  • Support for multiple tile sources:
    • primary opensciencemap (.vtm)
    • mapsforge files
    • GeoJSON tiles
    • bitmap: any quadtree-scheme tiles as texture
  • Backends:
    • Android
    • Desktop (using libgdx/LwjGL)
    • HTML5/WebGL (using libgdx/GWT)
    • iOS (using libgdx/robovm)

Projects

  • vtm contains the core library
  • vtm-android Android backend (no libgdx required)
  • vtm-android-example provides examples using vtm-android
  • vtm-gdx common libgdx backend code
  • vtm-android-gdx Android application
  • vtm-desktop Desktop application
  • vtm-web HTML5/GWT backend
  • vtm-web-app HTML5/GWT application
  • vtm-ios iOS application

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.

  • hold right mouse button to change view direction

Credits

This library contains code from several projects: