2014-08-13 20:37:06 +02:00
2014-03-29 19:03:17 +01:00
2014-06-10 22:16:07 +02:00
2014-05-24 14:27:55 +02:00
2014-06-10 22:16:07 +02:00
2014-06-10 22:16:08 +02:00
2014-06-10 22:16:07 +02:00
2014-06-10 22:16:08 +02:00
2014-04-02 04:14:08 +02:00
2014-04-03 21:56:28 +02:00
2014-05-24 23:06:50 +02:00
2014-06-10 22:16:08 +02:00
2014-05-24 23:06:50 +02:00
2014-06-10 22:16:09 +02:00
2014-06-10 22:16:07 +02:00
2014-06-10 22:16:07 +02:00
2014-06-10 22:16:07 +02:00
2014-08-13 20:37:06 +02:00
2014-06-10 22:16:07 +02:00
2014-04-01 04:03:10 +02:00
2014-06-10 22:16:07 +02:00
2014-01-17 00:00:19 +01:00
2014-02-07 21:50:07 +01:00
2014-05-16 17:55:45 +02:00
2014-02-08 01:41:50 +01:00
2014-02-08 01:41:50 +01:00
2014-02-24 16:01:09 +01:00
2014-06-10 22:16:07 +02:00
2014-04-02 22:30:12 +02:00

<vector<tile>>map


http://www.opensciencemap.org
VTM is part of the OpenScienceMap project and developed at University of Bremen.

Features

  • Java map library
  • OpenGL vector-tile rendering
  • Themeable vector layers
  • Support for multiple tile sources:
    • primary opensciencemap (.vtm)
    • mapsforge files
    • experimental mapnik-vector-tile source
    • 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-android-app opensciencemap app 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

Getting started

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

Install Android SDK and build-tools 19.1. 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

To use a different build-tools version X run:

find -name build.gradle | xargs sed -i 's/19\.1/19.X/g'

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-gdx-desktop:run
to run the desktop demo (only Linux64 and Win64 native libs are provided atm)
./gradlew :vtm-gdx-html:jettyDraftWar
to run the webgl demo

WebGL Demo

OpenScienceMap

  • hold right mouse button to change view direction
  • Keys: g toggle tile-grid layer d default- t tubes- r osmarender-theme

Credits

This library contains code from several projects:

Description
OpenGL vector map library - running on Android, iOS, Desktop and browser.
Readme 41 MiB
Languages
Java 78.8%
JavaScript 12.1%
C 5.2%
C++ 1.7%
Objective-C 1.2%
Other 0.9%