This repository has been archived by the owner on Apr 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Alex Morega edited this page Mar 5, 2014
·
9 revisions
GistMap is a service for publishing maps, with no backend infrastructure, just static files and public services. It works by downloading a configuration file from Gist, then fetching geojson/topojson from any CORS-enabled URL, and tabular data files from Google Spreadsheet, then rendering them in the browser. Here are some examples:
- Top 1000 Romanian cities, by population (source)
- Birth rate by county (source)
- Test with many small polygons (communes of Romania) (source)
-
Prepare a Features file and a Data file
-
Create a Gist with a Configuration file named
map.json
-
Take the ID of the Gist and create a URL in the following format to render the map in a browser:
http://mgax.github.io/gistmap/?gist={id_of_gist}
. You can embed this in another web page using an iframe:<iframe src="http://mgax.github.io/gistmap/?gist={id_of_gist}" width="400" height="215" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>