README.md in geojson2image-0.2.0 vs README.md in geojson2image-0.2.1
- old
+ new
@@ -30,14 +30,14 @@
g2i = Geojson2image::Convert.new(
json: gjson,
width: 500,
height: 500,
padding: 50,
- background_color: "#ffffff",
- fill_color: "#008000",
- stroke_color: "#006400",
- output: "output.jpg"
+ background: "#ffffff",
+ fill: "#008000",
+ stroke: "#006400",
+ output: "output.png"
)
g2i.to_image
```
**Example Output**
@@ -53,11 +53,11 @@
properties to your GeoJSON that include the desired stroke and fill options per
feature. Example:
```json
"properties": {
- "fill_color": "#008000",
- "stroke_color": "#006400"
+ "fill": "#008000",
+ "stroke": "#006400"
},
```
**Example Output**
