-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
48 lines (38 loc) · 4.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: index
maplang: en
---
<h1>[map] BBCode</h1>
<p>It is sad to see that while maps and geodata are trending, there is no reasonable solution to embed maps
in any of forum engines. Users of <a href="http://www.skyscrapercity.com/">SkyscraperCity</a>, the leading forum on
tall buildings, transport infrastructure and urban development, cannot use maps to show what they are discussing.
Cycling forums don't have route maps in their weekend journeys topics. Hikers cannot place photos taken in a recent
trip on a map. Offroad clubs still have to rely on arrays of GPS waypoints for their activities.</p>
<p>Meanwhile, recent technological advancements in web mapping, namely <a href="http://leafletjs.com">Leaflet</a>
library and its plugins, made it possible to create a simple solution for embedding maps in forums. In October the library
for parsing, displaying and editing <a href="bbcode.html">[map] bbcode</a> was finally released. With luck, this tag will
become as common on forums as [img] and [url].</p>
<div id="sample"></div>
<div style="float: right; width: 100px;">
<input type="button" value="Update" onclick="javascript:update();" style="width: 100%; height: 26px;"><br>
<input type="button" value="Edit" onclick="javascript:edit();" style="width: 100%; height: 26px;">
</div>
<textarea id="code" style="width: 590px; max-width: 590px; height: 48px;">[map]59.9342,30.3367(S); 59.4366,24.7529(F); 59.377,28.204(Border control); 59.934,30.337 59.718,30.037 59.39,28.532 59.372,27.444 59.428,26.807 59.367,26.433 59.469,26.016 59.437,24.753[/map]</textarea>
<p>Download MapBBCode JavaScript library:</p>
<ul>
<li><a href="dist/mapbbcode-1.2.0.zip">Version 1.2.0</a>: stable version, released on 25th of December, 2013</li>
<li><a href="dist/mapbbcode-latest.zip">Version 1.2.1-dev</a>: in-progress development version</li>
<li><a href="https://github.com/MapBBCode/mapbbcode">GitHub repository</a>: sources, add-ons and examples</li>
</ul>
<p>You will surely have questions after studying the library, find some answers <a href="faq.html">in the FAQ</a>. Map BBCode can be integrated into your installation of:</p>
<ul>
<li><b>phpBB 2</b>: <a href="https://github.com/MapBBCode/mapbb-phpbb2/raw/master/dist/mapbbcode_mod.zip">Download MOD</a>, <a href="https://github.com/MapBBCode/mapbb-phpbb2">GitHub repository</a></li>
<li><b>phpBB 3</b>: <a href="https://github.com/MapBBCode/mapbb-phpbb3/raw/master/dist/mapbbcode_mod.zip">Download MOD</a>, <a href="https://www.phpbb.com/community/viewtopic.php?f=70&t=2205161">discussion</a>, <a href="https://github.com/MapBBCode/mapbb-phpbb3">GitHub repository</a></li>
<li><b>FUDforum</b>: <a href="https://github.com/MapBBCode/mapbb-fud/raw/master/dist/mapbbcode_fud.zip">Download plugin</a>, <a href="http://fudforum.org/forum/index.php?t=msg&th=123263">discussion</a>, <a href="https://github.com/MapBBCode/mapbb-fud">GitHub repository</a></li>
<li><b>PunBB</b>: <a href="https://github.com/MapBBCode/mapbb-punbb/raw/master/dist/mapbbcode_punbb.zip">Download extension</a>, <a href="http://punbb.informer.com/forums/topic/26467/extension-map-bbcode/">discussion</a>, <a href="https://github.com/MapBBCode/mapbb-punbb">GitHub repository</a></li>
<li><b>FluxBB</b>: <a href="https://github.com/MapBBCode/mapbb-fluxbb/raw/master/dist/mapbbcode_fluxbb.zip">Download MOD</a>, <a href="http://fluxbb.org/forums/viewtopic.php?id=7462">discussion</a>, <a href="https://github.com/MapBBCode/mapbb-flux">GitHub repository</a></li>
<li><b>XenForo</b>: <a href="https://github.com/cbrspc/CSI-XF-BBCODE-Map/releases">Download addon</a>, <a href="https://cyberspace.community/threads/1466/">discussion</a>, <a href="https://github.com/cbrspc/CSI-XF-BBCODE-Map">GitHub repository</a></li>
</ul>
<p>Please help us expand this list! There is an extensive <a href="embedding.html">documentation</a> on integrating [map] bbcode with forum engines. It doesn't even have to be a forum: blog and CMS plugins are also welcome. And does not rely on using <a href="#sample" onclick="javascript:replaceMap(); return true;">actual maps</a>. You can use the library in your project to display maps or to provide a complete mapping experience for your users. To showcase it, we have made an <a href="https://github.com/MapBBCode/share.mapbbcode.org">open-source</a> website to create and share user maps:</p>
<div id="share"><a href="http://share.mapbbcode.org">share.mapbbcode.org</a></div>
<p>The MapBBCode library and most examples were written by Ilya Zverev and published under WTFPL license where possible. Follow <a href="https://twitter.com/mapbbcode">@mapbbcode</a> for news.</p>