<commit_before># leaflet-gorilla

A renderer for [Gorilla REPL](http://gorilla-repl.org/) that generates
[Leaflet maps](http://leafletjs.com/).

![leaflet-gorilla screenshot](/media/screenshots/leaflet-gorilla-screenshot-1.png?raw=true "leaflet-gorilla screenshot")

Still under development.

## Examples

### Prologue

```
(ns gentle-shelter
  (:require
   [clojure.java.io :as io]
   [clojure.string :as string]
   [com.lemondronor.leaflet-gorilla :as lg]
   [gorilla-plot.core :as plot]))

(def points [[35.059444 -118.151667]
             [34.200556 -118.358611]
             [33.9425, -118.408056]
             [34.5975 -117.383056]])

(lg/leaflet [:points [[51.509, -0.08],
                      [51.503, -0.06],
                      [51.51, -0.047]]])
```

### Points
```
(def points [[35.059444 -118.151667]
             [34.200556 -118.358611]
             [33.9425, -118.408056]
             [34.5975 -117.383056]])

(lg/leaflet points)

(lg/leaflet [[37.78738 -122.240335]
             [37.788633 -122.237268]
             [37.788525 -122.237366]]])

(lg/leaflet [:points points])
```

### Lines
```
(lg/leaflet [:line points])
```

### Polygons
```
(lg/leaflet [:polygon [[41.00 -109.05]
                       [40.99 -102.06]
                       [36.99 -102.03]
                       [36.99 -109.04]
                       [41.00 -109.05]]])
```

## License

Copyright © 2015 <NAME> <<EMAIL>>

Distributed under the MIT license.<commit_msg>Updated README.<commit_after># leaflet-gorilla

A renderer for [Gorilla REPL](http://gorilla-repl.org/) that generates
[Leaflet maps](http://leafletjs.com/).

![leaflet-gorilla screenshot](/media/screenshots/leaflet-gorilla-screenshot-1.png?raw=true "leaflet-gorilla screenshot")

Still under development.

## Examples

Start the Gorilla repl with

```
$ lein gorilla
```

then load `example-worksheet.cljw` to see examples of using
leaflet-gorilla.

## License

Copyright © 2015 <NAME> <<EMAIL>>

Distributed under the MIT license.
{'fraction_non_alphanumeric': 0.16834170854271358, 'fraction_numerical': 0.12914572864321608, 'mean_word_length': 2.4868651488616464, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3151446', 'n_tokens_mistral': 900, 'n_tokens_neox': 728, 'n_words': 150}