Awesome
geojson-share-maps
Forked from @bmcbride https://github.com/bmcbride/geojson-share-maps for use with IIIF-GeoJSON-maps plugin for the Mirador image viewer.
A responsive web mapping utility for viewing and sharing GeoJSON files. Designed to be an incredibly simple and lightweight tool for quickly standing up a basic mapping application without having to write any code. Maps can be shared, embedded, and added to your mobile homescreen. Use geojson.io or any other modern mapping tool to generate your GeoJSON, place it on a web server, push it to GitHub, or save it as a Gist and quickly wrap it up as a responsive web app.
Features:
- Fullscreen mobile-friendly map template with responsive navbar and modal popups
- Built on the incredibly popular Bootstrap and Leaflet/Mapbox frameworks
- Configure everything via URL parameters (no coding necessary)!
- Define GeoJSON source, app title, logo, display fields/properties & data attribution
- Completely client-side, can be hosted for free on GitHub Pages
- Supports GeoJSON feature styling via simplestyle-spec
- Sidebar with basic filtering and sorting via List.js
Examples:
- DC WiFi Social A GitHub based collaborative list of DC locations that serve up both Internet and Alcohol from Ben Balter
- US States Natural Earth admin 1 states provinces shp data from http://geojson.xyz/
- Football Clubs of Europe A Fulcrum mapping project from Coleman McCormick
- NYC Coffee Shops via Mapbox
- Baseball Parks A GeoJSON Ballpark mapping project from James Fee
- Bounding box for georectified map (UCD Digital Library)
- Single site location in Dublin, Ireland UCD Digital Library
URL Parameters:
Parameter | Options | Default | Description | Required |
---|---|---|---|---|
src | Web accessible GeoJSON | NA | URL to GeoJSON source | True |
title | Any string | GeoJSON Data | navbar, app title | False |
logo | Any accessible URL | NA | URL to a custom navbar logo | False |
title_field | Any valid property | First property | Field used for marker/sidebar title | False |
fields | Any valid properties | All | Comma separated list of specific properties to show | False |
attribution | Any string | NA | Source attribution added to text in bottom right of map | False |
cluster | true / false | True | Should markers be clustered? | False |
Screenshots:
Desktop Points
Desktop Polygons
Mobile Map
Mobile Sidebar
Mobile Popup