Giter Site home page Giter Site logo

regnum.online's Introduction

How to contribute

I stopped playing Regnum a few days after creating the initial version of this map, so a lot of community help is needed to keep it up.

For now, if you have no real idea about what you're doing, please only add new data entries. Don't try to add new Layer Groups or something. I will extend it a bit in the future, so you can edit the data sources in Excel or something like that.

If you have any ideas, feel free to open an issue on github so we can discuss. There's a lot of stuff that can be done with the project domain :)

This map is fully based on Leaflet and exists out of thausands of image tiles. I know that there is some issue with loading images in certain zoom levels. I'll need to generate the image tiles with a little trick, but dunno how to do yet. It'll be fixed in the future for sure.

Map is served by BunnyCDN with a small webserver for php-based spawntimes.

Plugins

It is working with the following leaflet plugins:

leaflet-rastercoords Leaflet.awesome-markers

To generate the map tiles, I'm using gdal2tiles-leaflet. It's a bit tricky with regnums amazing coordination system.

At the moment, this is the correct script to generate the map tiles. Files can be found here.

#!/bin/bash

# do NOT forget to install `python-gdal` library
# assuming you are on a debian like OS
#sudo apt install python-gdal

# get the tool
test ! -f gdal2tiles.py \
  && curl https://raw.githubusercontent.com/joshua2504/gdal2tiles-leaflet/master/gdal2tiles.py \
  > gdal2tiles.py
# process ...
python ./gdal2tiles.py -l -p raster -z 1-5 -w none source.png /path/to/tiles

Contributers

Thanks for contributing to the following players.

  • Zeddi (Valhalla)
  • Suo (Valhalla)

regnum.online's People

Contributors

joshua2504 avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

regnum.online's Issues

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.