Git Product home page Git Product logo

cmap.api.freifunk.net's Introduction

Community Map

Setup

git clone https://github.com/freifunk/cmap.api.freifunk.net.git
cd cmap.api.freifunk.net
yarn install
cp config.json.sample config.json
# maybe edit your config.json
node server.js

If you don't see any tiles: Copy config.json.sample to config.json, add your mapbox id to select your tileset and then start the server.

Options

Community map accepts options as JSON object

Name Standard Bedeutung
ffGeoJsonUrl "//api.freifunk.net/map/ffGeoJsonp.php?callback=?" URL with API data, we need jsonp there
hideLocationButton false
hideLayerControl false hide or show layer box
hideInfoBox false 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 false show events in community popup
showNews false show news in community popup
mapboxId "mapbox.streets" id for your mapbox tiles

Dependencies

(external folder)

  • jQuery
  • underscore.js
  • leaflet.js

Contribute

The community map is a fun & visual way to know more about open-source communities across Germany. If you think there are cool features that can be integrated in the map, you can let us know by opening an issue, or sending pull requests. Bug reports are equally welcomed.

cmap.api.freifunk.net's People

Contributors

andibraeu avatar benny-de avatar christianheise avatar dependabot[bot] avatar dschmidtberg avatar egon0 avatar eskorte avatar freifunkufo avatar gutjuri avatar mmunz avatar mojoaxel avatar ratopi avatar renovate[bot] avatar rubo77 avatar t-x avatar whallmann avatar zyzo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

zyzo rubo77

cmap.api.freifunk.net's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency libv8 to v3.16.14.19.1
  • Update actions/checkout action to v4
  • Update actions/setup-node action to v4
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

bundler
external/forkawesome/Gemfile
  • jekyll '3.9.2'
  • safe_yaml '~> 1.0.4'
  • sass '~> 3.5'
  • libv8 '~> 3.16.14.19'
  • therubyracer undefined
  • fontcustom undefined
composer
external/forkawesome/composer.json
github-actions
.github/workflows/node.js.yml
  • actions/checkout v3
  • actions/setup-node v3
npm
external/forkawesome/package.json
  • all-contributors-cli ^6.1.1
  • less ^2.7.3
  • less-plugin-clean-css ^1.5.1
  • svgo ^1.1.1
  • node >=0.10.3
package.json
  • jquery ~3
  • underscore ~1.13.0
  • leaflet ~1
  • leaflet.markercluster ~1

  • Check this box to trigger a request for Renovate to run again on this repository

Uncaught TypeError: e.indexOf is not a function

Ich bekomme keine kartendaten zu sehen, dies sind die fehler in der console:

[jquery.min.js:2:84932](http://localhost:8080/node_modules/jquery/dist/jquery.min.js)
XML-Verarbeitungsfehler: nicht wohlgeformt
Adresse: http://localhost:8080/config.json
Zeile Nr. 1, Spalte 1: [config.json:1:1](http://localhost:8080/config.json)
GEThttps://api.mapbox.com/styles/v1/freienetzwerke/ckatogpoebrsz1io160d3e80i/tiles/4/8/4?access_token=mapbox.streets

Include more of the API data

A lot of the data provided through the API JSON files is not presented in the map (or the table).

More specifically, we included a link to our forum category in the "contact.ml" field, which is not viewable anywhere in the map data set for our community.

Since mailing lists or forums are one of the places to go for a first "Hello!" from newly interested people, I think it would be a very good addition to show at least the "contact.ml" field.

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.