Code Monkey home page Code Monkey logo

vtm's Introduction

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:

vtm's People

Contributors

ecgreb avatar hanchao avatar hjanetzek avatar stleusc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.