=== Plugin Name ===
Contributors: andibraeu
Donate link: http://www.weimarnetz.de/spenden
Tags: community map 
Requires at least: 3.6
Tested up to: 4.3
Stable tag: trunk

== Description == 

This plugin provides a shortcode to display the well known freifunk community map: [ffcommunitymap]

It is fully configurable to embed your own sources. These options are available:

+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| Name               | Standard                                           | Bedeutung                                                            |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| geojsonurl         | "//api.freifunk.net/map/ffGeoJsonp.php?callback=?" | URL with API data, we need jsonp there                               |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| hidelocationbutton | 0                                                  |                                                                      |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| hidelayercontrol   | 0                                                  | hide or show layer box                                               |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| hideinfobox        | 0                                                  | hide or show info box                                                |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| feedurl            | "//api.freifunk.net/feed/feed.php"                 | a feed provided by https://github.com/freifunk/feed.api.freifunk.net |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| newscontentlimit   | 3                                                  | number of news entries                                               |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| eventscontentlimit | 2                                                  | number of event entries                                              |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| postcontentlength  | 30                                                 | length event headlines                                               |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| zoomlevel          | 5                                                  | default zoom level on page load                                      |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| center             | [51.5,10.5]                                        | initial center of map                                                |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| divid              | "map"                                              | div id where map should be displayed                                 |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| showevents         | 0                                                  | show events in community popup                                       |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| shownews           | 0                                                  | show news in community popup                                         |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+
| mapboxid           | "mapbox.streets"                                   | id for your mapbox tiles                                             |
+--------------------+----------------------------------------------------+----------------------------------------------------------------------+

Another shortcode is for displaying a community table: [ffcommunitytable]

Available options are:

+--------------------+-----------------------------------------------------------------+---------------------------------------------------------+
| Name               | Standard                                                        | Bedeutung                                               |
+--------------------+-----------------------------------------------------------------+---------------------------------------------------------+
| summaryurl         | "//api.freifunk.net/map/ffApiJsonp.php?mode=summary&callback=?" | URL with API data, we need jsonp there                  |
+--------------------+-----------------------------------------------------------------+---------------------------------------------------------+
| columns            | "city,name,firmware,routing,nodes,contact"                      | select available columns comma separated                |
+--------------------+-----------------------------------------------------------------+---------------------------------------------------------+


== Changelog ==

Version 2.1

* refactoring
* table now sortable
* table now mobile friendly

Version 2.0

* add community table

Version 1.0

* initial release
* show community map and use a bunch of options
