{% extends 'base.html' %} {% block content %}
We'll need access to your GitHub account to sync your repos and GeoJSON. For now we're only grabbing your public repos. In the future we'll grab the private ones too (if you want).
Not all repos have GeoJSON in them so we won't waste our time syncing ones that don't. Sync the ones that do.
When you sync a repo, we add a WebHook to your repo so we're notified any time commits are pushed to the repo. We look to see if any relevant files changed and if so, specific feature sets are resynced.
Some repos have tons of GeoJSON files in them. You might only want a few synced. So sync them.
After syncing is complete you can view the feature set page which shows some example API calls and a map where you can preview features. You can edit the name of the feature set by clicking the pencil edit button to the right of the name. Note that this will also change your API calls.
With JavaScript libraries like Leaflet Vector Layers, you can easily add features from your repo to a map using the provided API.