GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MapBBCode/share.mapbbcode.org: MapBBCode Share

BranchesTags
Open more actions menu

Latest commit

 

History

82 Commits
82 Commits

Folders and files

NameName
Last commit message
Last commit date
formats
formats
 
 
lib
lib
 
 
.htaccess
.htaccess
 
 
.nginx-vhost.conf
.nginx-vhost.conf
 
 
CHANGELOG.md
CHANGELOG.md
 
 
README.md
README.md
 
 
auth.php
auth.php
 
 
config.php
config.php
 
 
convert.php
convert.php
 
 
db.php
db.php
 
 
help.txt
help.txt
 
 
index.php
index.php
 
 
mapbbcode.php
mapbbcode.php
 
 
openid.php
openid.php
 
 
page.php
page.php
 
 
simplify.php
simplify.php
 
 

Repository files navigation

MapBBCode Share

This is a website originally made for sharing maps, based on MapBBCode javascript library. But since it has powerful import/export feature, it also can be used for planning routes, generating standalone map pages and converting between formats.

Installation

In order to reduce load on the main share.mapbbcode.org website, cloning the service is encouraged. Requirements are few:

  • Apache with mod_rewrite or nginx with php-fpm
  • PHP 5.2 or newer
  • MySQL 5
  • A separate domain (or subdomain) name

To install, copy all files (except README.md) to a designated directory, modify config.php according to your setup, and open http://domain.name/initdb. If you see a map with a yellow message saying tables were created, you're good to go. Set NEED_INIT_DB in the config to false, then check that saving and signing in work.

For caching to work, you need a cache directory with writing rights.

Formats

At the moment MapBBCode Share can import 11 file types and export 10. Writing a plugin for a new file format is easy: see examples in formats directory. Those are loaded automatically, you won't have to modify other scripts. Keep in mind this is not a universal convertor: GPSBabel is. This is not a GPS trace storage, and traces are simplified: we already have GPSies for full GPX downloads, elevation and speed profiles. MapBBCode Share goals are simple and outlined in the first section, and supported formats list should be kept short.

Included Libraries

Writing the service would be much harder it it weren't for those libraries:

  • MapBBCode (WTFPL)
  • Leaflet (BSD 2-clause)
  • Leaflet.draw (MIT)
  • Bing.js (BSD 2-clause)
  • LightOpenID (MIT)
  • OpenID Selector (BSD 3-clause)
  • Simplify.js (BSD 2-clause)
  • Simplify.php (unknown license)

License

All files that did not come from other libraries are released under WTFPL.

About

MapBBCode Share

share.mapbbcode.org

Resources

Readme
Activity
Custom properties

Stars

56 stars

Watchers

11 watching

Forks

11 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.