Hannes Janetzek 48fa5d5434 refactor: move tile layer classes back to layers.tile
they *really* belong there
2014-02-24 15:03:21 +01:00
2014-02-08 01:41:50 +01:00
2014-01-17 01:41:20 +01:00
2014-02-13 00:55:25 +01:00
2014-01-17 01:47:48 +01:00
2014-02-08 03:36:44 +01:00
2014-01-17 00:00:19 +01:00
2014-02-07 21:50:07 +01:00
2014-02-08 01:41:50 +01:00
2014-02-08 01:41:50 +01:00
2014-02-08 17:48:01 +01: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
    • HTML5/WebGL (through libgdx and GWT)
    • iOS sooner or later

Getting started

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

cd vtm/vtm-android-app/assets && ln -s ../../vtm/assets/* .

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-gdx-desktop Desktop application
  • vtm-gdx-html HTML5/GWT application
  • vtm-gdx-android Android application using libgdx backend

Eclipse

Import all 'vtm' projects that you need into Eclipse.

Gradle / Android-Studio

Just import build.gradle - should work, not much tested though.
Or run gradle tasks from the commandline:
./gradlew clean install
to build the libraries and add them to the local maven repository.
./gradlew :vtm-android-example:installDebug
to run the android example
./gradlew :vtm-gdx-desktop:run
to run the desktop demo (only Linux and Win64 or compile the native libs)

WebGL Demo

http://opensciencemap.org/map/#scale=17,rot=61,tilt=51,lat=53.075,lon=8.807

  • 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%