GithubHelp home page GithubHelp logo

binguoa / slippymap3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from egore/slippymap3d

0.0 0.0 0.0 256 KB

An OpenGL based slippy map viewer for OpenStreetMap

License: MIT License

C++ 62.47% C 8.15% CMake 29.38%

slippymap3d's Introduction

slippymap3d

Building

slippymap3d uses CMake to compile the code. To build the program you need at least

  • C++11 capable compiler
  • SDL 2.x with SDL_image
  • CURL
  • OpenGL
  • boost filesystem, system and thread

To compile the program you can either use the following commands

cd slippymap3d
mkdir build
cd build
cmake ..
make

Alternatively the ninja build system is supported as well

cd slippymap3d
mkdir build
cd build
cmake -GNinja ..
ninja

Using official tiles

Starting the program will try to download tiles from "http://localhost/osm_tiles/" to the current directory. If you want to use the official tiles from OpenStreetMap (note that you need to follow the tile usage policy) replace the URL in loader.cpp with e.g. "http://a.tile.openstreetmap.org/".

Navigation

  • Left mouse button: rotate the map
  • Right mouse button: tile the map
  • Middle mouse button: move the map

Screenshots

To see a few screenshots take a look at https://plus.google.com/+ChristophBrill/posts/CLife8pvGoB

slippymap3d's People

Contributors

egore avatar christophbrill-cgmcom 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.