Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
C++ C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.md
map_view.cc
map_view.h
preview.png
sdlmap.cc
sdlmap.h
tile.cc
tile.h
tile_collection.cc
tile_collection.h
tile_downloader.cc
tile_downloader.h

README.md

sdlmap

sdlmap is a dead simple "Slippy map" using SDL 2.0 and libcurl. It may be able to be run on systems which could not handle more complex browser and javascript based map viewers.

sdlmap is meant to be a starting point for map experiments, being minimalist (read: incomplete) and portable (read: I used SDL).

preview (Map tiles courtesy of OpenStreetMap)

Usage

$ make
$ ./sdlmap

Dependencies

  • SDL 2.0
  • SDL_image 2
  • libcurl

Arch linux

# pacman -S sdl2 sdl2_image

Ubuntu

# apt-get install libsdl2-image-dev libcurl4-gnutls-dev
Something went wrong with that request. Please try again.