README.md in geojson2image-0.1.1 vs README.md in geojson2image-0.1.2
- old
+ new
@@ -41,28 +41,33 @@
output: "output.jpg"
)
g2i.to_image
```
-### Example Output
+**Example Output**
+

### Stroke and Fill Color Options
-These options can be globally set when initializing a
-new Geojson2image::Convert object, or you can override them by adding properties to
-your GeoJSON that include the desired stroke and fill options per feature. Example:
+Valid color values are defined in the ImageMagick Color Names Reference:
+https://www.imagemagick.org/script/color.php
+Stroke and fill color options can be globally set when initializing a
+new Geojson2image::Convert object, or you can override them by adding
+properties to your GeoJSON that include the desired stroke and fill options per
+feature. Example:
+
```json
"properties": {
"fill_color": "rgba(0, 158, 40, 0.3)",
"stroke_color": "rgb(0, 107, 27)",
"stoke_width": "3",
},
```
+**Example Output**
-Valid color values are defined in the ImageMagick Color Names Reference:
-https://www.imagemagick.org/script/color.php
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.