{% extends 'base.html' %} {% block content %}

How it Works

1. Login with GitHub

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).

Oauth

2. Sync some Repos

Not all repos have GeoJSON in them so we won't waste our time syncing ones that don't. Sync the ones that do.

Sync Repo

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.

Web Hook

3. Sync Some Feature Sets yes, more syncing, but only this once

Some repos have tons of GeoJSON files in them. You might only want a few synced. So sync them.

Sync Feature Set

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.

Feature Set Page

4. Utilize the API

With JavaScript libraries like Leaflet Vector Layers, you can easily add features from your repo to a map using the provided API.

Leaflet Vector Layers Example

{% endblock %}