Skip to content

Commit

Permalink
Support more line features from geojson properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Mar 24, 2017
1 parent 8501fb8 commit 1971dda
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 1971dda

Please sign in to comment.