Skip to content

Commit

Permalink
docs: describe vl-vector-source #34
Browse files Browse the repository at this point in the history
  • Loading branch information
ghettovoice committed Jun 4, 2018
1 parent 43566a8 commit 68f307c
Show file tree
Hide file tree
Showing 2 changed files with 388 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/component/vector-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ used with together with [`vl-source-vector`](component/vector-source.md) compone

## Usage

Example below shows how you can use `vl-layer-vector` and [`vl-source-vector`](component/vector-source) to render some
Example below shows how you can use `vl-layer-vector` and [`vl-source-vector`](component/vector-source.md) to render some
vector vector features from remote backend.

<vuep template="#usage-example"></vuep>
Expand All @@ -31,6 +31,11 @@ vector vector features from remote backend.

<vl-layer-vector>
<vl-source-vector :features.sync="features"></vl-source-vector>

<vl-style-box>
<vl-style-stroke color="green" :width="3"></vl-style-stroke>
<vl-style-fill color="rgba(255,255,255,0.5)"></vl-style-fill>
</vl-style-box>
</vl-layer-vector>
</vl-map>
<p v-if="loading">
Expand Down
Loading

0 comments on commit 68f307c

Please sign in to comment.