All Projects → CodeForPittsburgh → fishfrymap

CodeForPittsburgh / fishfrymap

Licence: other
Fish Fry Map project repository

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to fishfrymap

Leaflet Geoman
🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
Stars: ✭ 1,088 (+7671.43%)
Mutual labels:  osm, leaflet, mapbox
osmcz
JS mapová appka pro openstreetmap.cz (osmcz-app)
Stars: ✭ 35 (+150%)
Mutual labels:  openstreetmap, osm, leaflet
gpxstudio.github.io
The online GPX file editor
Stars: ✭ 233 (+1564.29%)
Mutual labels:  osm, leaflet, mapbox
openstreetmap-americana
A quintessentially American map style
Stars: ✭ 89 (+535.71%)
Mutual labels:  cartography, openstreetmap, osm
Contextily
Context geo-tiles in Python
Stars: ✭ 254 (+1714.29%)
Mutual labels:  cartography, openstreetmap, osm
Delphi OSMMap
Visual control for Delphi and Lazarus to display OSM map
Stars: ✭ 27 (+92.86%)
Mutual labels:  openstreetmap, osm, mapbox
ciclomapa
Beautiful, interactive & open bike maps of Brazilian cities. Powered by OpenStreetMap.
Stars: ✭ 56 (+300%)
Mutual labels:  openstreetmap, osm, mapbox
is-osm-uptodate
Find outdated nodes in OpenStreetMap
Stars: ✭ 16 (+14.29%)
Mutual labels:  openstreetmap, osm, leaflet
Osmic
CC0 SVG Map Icons, mirror of repo on Gitlab
Stars: ✭ 89 (+535.71%)
Mutual labels:  cartography, openstreetmap, osm
web-maps-wcag-evaluation
Manual accessibility evaluation of popular web map tools.
Stars: ✭ 28 (+100%)
Mutual labels:  openstreetmap, leaflet, mapbox
o.map
Open Street Map app - KaiOS
Stars: ✭ 51 (+264.29%)
Mutual labels:  openstreetmap, osm, leaflet
Tilemill
TileMill is a modern map design studio
Stars: ✭ 2,952 (+20985.71%)
Mutual labels:  openstreetmap, osm, mapbox
ohsome-quality-analyst
Data quality estimations for OpenStreetMap
Stars: ✭ 28 (+100%)
Mutual labels:  openstreetmap, osm
qgis-maptiler-plugin
QGIS MapTiler Plugin: vector tiles, basemaps, geocoding, OSM, QuickMapServices
Stars: ✭ 73 (+421.43%)
Mutual labels:  openstreetmap, osm
protomaps.js
Lightweight vector map rendering, labeling and symbology for the web
Stars: ✭ 359 (+2464.29%)
Mutual labels:  cartography, leaflet
Mapping
OpenStreetMap contributions from the data team at Mapbox
Stars: ✭ 213 (+1421.43%)
Mutual labels:  openstreetmap, mapbox
earthwyrm
Vector tile map server for openstreetmap data
Stars: ✭ 16 (+14.29%)
Mutual labels:  cartography, osm
s60-maps
Yet another maps for Symbian OS
Stars: ✭ 27 (+92.86%)
Mutual labels:  cartography, openstreetmap
Vector Datasource
Tilezen vector tile service - OpenStreetMap data in several formats
Stars: ✭ 427 (+2950%)
Mutual labels:  cartography, openstreetmap
equalstreetnames
Map visualizing the streetnames by gender : 50 cities in 11 countries
Stars: ✭ 64 (+357.14%)
Mutual labels:  openstreetmap, osm

Pittsburgh Lenten Fish Fry Map

The Pittsburgh Lenten Fish Fry Map is the brainchild of Hollen Barmer, who has tirelessly dedicated her time since 2012 inventorying the rich array of Lenten Fish Fry events that occur every spring in Western Pennsylvania. Code for Pittsburgh helps with website development, hosting, and data maintenance!

Where Does the Fish Fry data shown on the map come from?

The raw data isn't here! That is by design. The map gets data from the Fish Fry API @ fishfry.codeforpgh.com/api/fishfries. Anyone can use that URL to get data to make their own fish fry map, or do things with the Fish Fry data that we haven't thought of. If you want to learn more about the database and API, head over to the Fish Fry Form repository.

Occassional snapshots of the data from are being dumped into the data folder of this repo, but only for posterity.

Development

This is a static web site. We're serving it up with GitHub pages, but it can run on any web server as-is, really.

Prerequisites

To develop this, you have NodeJS installed, such that you can call node and npm from the command line.

Then, in the root of this directory, run:

npm install

This will use the package.json file to get and install NodeJS dependencies locally, in a node_modules folder.

You will also need these things (available on NPM):

  • GulpJS, with gulp callable from the command line. Install with npm install [email protected] -g
  • Http-Server, with http-server callable from the command line. Install with: npm install http-server -g

Those two things need to be available globally. the -g flag in those commands makes sure of that.

Building and Watching

GulpJS is a task-runner that compiles and bundles source code from src folder into the assets folder. Since the deployment path for this is GitHub pages, we put things into the assets folder, which is where Jekyll, the software that runs GitHub pages, expects those things to be.

We run those tasks with npm scripts.

Running npm run build will compile and bundle the source code one time.

Running npm run dev will do that, plus run http-server, open the site in a web browser at http://localhost:3000, and, upon detecting changes to files in src, re-runs compiling/bundling and refreshes your browser. Nice!

If the site doesn't load after pnpm run dev, check http://localhost:4000 in your browser. This is where http-server lives. If you don't see anything there, make sure you can run http-server from the command line (see prerequisites above).

Where the functionality lives / where you can hack on the code

Most of the work is happening in src/js/app.js. The rest happens in index.html.

TODO: the source code for this app is a bit of a mess...the result of quick prototyping.

Deploying this Site

Run npm run build, commit changes, and push as-is to GitHub to deploy.

Credits

The Fish Fry Map is built and maintained by members of Code for Pittsburgh.

It started with Bootleaf (which we've adapted it and modified heavily for this project), and uses Bootstrap 3, Leaflet, and typeahead.js, among other things.

Basemaps

Our nice basemaps come from all over!

Icons

Church and Warehouse icons come from © Mapbox.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].