Community pin on map
Description
Communities should be visible on the map. https://docs.google.com/presentation/d/1MQiahbs1sk0wAHncqbFWexiUItBRcLQI4HR-xPsEhZk/edit?usp=sharing
Impact
Depending on how it's implemented, probably every FS using the map. Concerning the data: just BOTs.
Proposal
On the Map https://foodsharing.de/karte there should be one more filter button like "Communities" where you can see where communities are. The infobox similar to a store could show statistic like
-
number of foodsavers ?
-
number of stores ?
-
number of weekly pickups?
important information would be e-mail address of the bezirk.
adittional could be an infobox that a community could give individual description. (reference a homepage or something). -> discussion.
This requires database queries, a new UI dialog on the map and you would have to think about where exactly the markers are positioned in the district
Links / references
CREATE TABLE `foodsharing`.`fs_region_pin` (
`id` INT NOT NULL AUTO_INCREMENT,
`bezirk_id` INT NULL,
`lat` VARCHAR(20) NULL,
`lon` VARCHAR(20) NULL,
`plz` VARCHAR(5) NULL,
`stadt` VARCHAR(50) NULL,
`anschrift` VARCHAR(120) NULL,
`description` VARCHAR(45) NULL,
PRIMARY KEY (`id`));
if community - goals group then show district - option in menue
https://gitlab.com/foodsharing-dev/foodsharing/blob/master/src/Modules/Region/RegionControl.php#L83