Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ The goal is to be able to write applications using OpenLayers maps in a declarat
</layer.Tile>
<layer.Vector>
<source.Vector>
<Feature style={{stroke: {color: [255, 0, 0, 1]}}}>
<Feature style={{stroke: {color: [255, 0, 0, 1]}}} id="red-square">
<geom.LineString>
{[[0, 0], [100000, 0], [100000, 100000], [0, 100000]]}
{[[0, 0], [100000, 0], [100000, 100000], [0, 100000], [0, 0]]}
</geom.LineString>
</Feature>
</source.Vector>
Expand All @@ -21,4 +21,4 @@ To understand what each element does, read the [OpenLayers API documentation](ht

It's early days! If you're familiar with react and/or openlayers and are interested in helping, please get in touch. Available on [github](https://github.com/richardhills/ol-react) and [npm](https://www.npmjs.com/package/ol-react).

I am especially interested in assistance with having each component be optionally [controlled](https://facebook.github.io/react/docs/forms.html#controlled-components). This would allow binding of the components with, say, Redux and for sophisticated state management outside of OpenLayers.
I am especially interested in assistance with having each component be optionally [controlled](https://facebook.github.io/react/docs/forms.html#controlled-components). This would allow binding of the components with, say, Redux and for sophisticated state management outside of OpenLayers.