Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkau committed Apr 13, 2015
1 parent 46d7df2 commit c36ad93
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,13 @@ With a GeoJSON containing lines, it becomes:

* `repeat` Specifies if the text should be repeated along the polyline (Default: `false`)
* `center` Centers the text according to the polyline's bounding box (Default: `false`)
* `attributes` Object containing the attributes applied to the `text` tag. Check valid attributes [here](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text#Attributes) (Default: `{}`)
* `below` Show text below the path (Default: false)
* `orientation` Rotate text. (Default: 0)
- orientation: <angle> - rotate to a specified angle (e.g. orientation: 15)
- orientation: flip - filps the text 180deg correction for upside down text placement on west -> east lines
- orientation: perpendicular - places text at right angles to the line.

* `attributes` Object containing the attributes applied to the `text` tag. Check valid attributes [here](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text#Attributes) (Default: `{}`)

Screenshot
----------
Expand Down

0 comments on commit c36ad93

Please sign in to comment.