Skip to content

Commit

Permalink
Merge pull request #680 from OpenGeoscience/geojson-line-features
Browse files Browse the repository at this point in the history
Support more line features from geojson properties.
  • Loading branch information
manthey authored Mar 24, 2017
2 parents 8501fb8 + 1971dda commit 31ddb36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/jsonReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,11 @@ var jsonReader = function (arg) {
.style({
strokeColor: m_this._style('strokeColor', '#ff7800', lines, convertColor),
strokeWidth: m_this._style('strokeWidth', 4, lines),
strokeOpacity: m_this._style('strokeOpacity', 0.5, lines)
strokeOpacity: m_this._style('strokeOpacity', 0.5, lines),
strokeOffset: m_this._style('strokeOffset', 0, lines),
lineCap: m_this._style('lineCap', 'butt', lines),
lineJoin: m_this._style('lineCap', 'miter', lines),
closed: m_this._style('closed', false, lines)
})
);
}
Expand Down

0 comments on commit 31ddb36

Please sign in to comment.