Skip to content

Commit

Permalink
add Vue.use statement to components docs
Browse files Browse the repository at this point in the history
  • Loading branch information
categulario committed Jun 23, 2019
1 parent 075070f commit c0b7618
Show file tree
Hide file tree
Showing 32 changed files with 64 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/component/bingmaps-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ this source you should get **API key** at https://www.bingmapsportal.com.

```javascript
import { BingmapsSource } from 'vuelayers'

Vue.use(BingmapsSource)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/circle-geom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { CircleGeom } from 'vuelayers'

Vue.use(CircleGeom);
```
2 changes: 2 additions & 0 deletions docs/component/circle-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { CircleStyle } from 'vuelayers'

Vue.use(CircleStyle)
```
2 changes: 2 additions & 0 deletions docs/component/draw-interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { DrawInteraction } from 'vuelayers'

Vue.use(DrawInteraction)
```
2 changes: 2 additions & 0 deletions docs/component/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ components placed inside default slot.

```javascript
import { Feature } from 'vuelayers'

Vue.use(Feature)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/geoloc.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ a user's position. You can place it to the **default slot** of [`vl-map`](/docs/

```javascript
import { Geoloc } from 'vuelayers'

Vue.use(Geoloc)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/image-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ raster source, like [`vl-source-image-static`](/docs/component/image-static-sour

```javascript
import { ImageLayer } from 'vuelayers'

Vue.use(ImageLayer)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/image-static-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { ImageStaticSource } from 'vuelayers'

Vue.use(ImageStaticSource)
```
2 changes: 2 additions & 0 deletions docs/component/image-wms-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { ImageWmsSource } from 'vuelayers'

Vue.use(ImageWmsSource)
```
2 changes: 2 additions & 0 deletions docs/component/line-string-geom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { LineStringGeom } from 'vuelayers'

Vue.use(LineStringGeom)
```
2 changes: 2 additions & 0 deletions docs/component/map.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ component to setup `zoom`, `center`, `projection` and other view related propeti

```javascript
import { Map } from 'vuelayers'

Vue.use(Map)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/modify-interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { ModifyInteraction } from 'vuelayers'

Vue.use(ModifyInteraction)
```
2 changes: 2 additions & 0 deletions docs/component/multi-line-string-geom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { MultiLineStringGeom } from 'vuelayers'

Vue.use(MultiLineStringGeom)
```
2 changes: 2 additions & 0 deletions docs/component/multi-point-geom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { MultiPointGeom } from 'vuelayers'

Vue.use(MultiPointGeom)
```
2 changes: 2 additions & 0 deletions docs/component/multi-polygon-geom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { MultiPolygonGeom } from 'vuelayers'

Vue.use(MultiPolygonGeom)
```
2 changes: 2 additions & 0 deletions docs/component/osm-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { OsmSource } from 'vuelayers'

Vue.use(OsmSource)
```
2 changes: 2 additions & 0 deletions docs/component/overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ it to some coordinate (for example: inside `vl-feature` or `vl-view`).

```javascript
import { Overlay } from 'vuelayers'

Vue.use(Overlay)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/point-geom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { PointGeom } from 'vuelayers'

Vue.use(PointGeom)
```
2 changes: 2 additions & 0 deletions docs/component/polygon-geom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { PolygonGeom } from 'vuelayers'

Vue.use(PolygonGeom)
```
2 changes: 2 additions & 0 deletions docs/component/select-interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { SelectInteraction } from 'vuelayers'

Vue.use(SelectInteraction)
```
2 changes: 2 additions & 0 deletions docs/component/snap-interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { SnapInteraction } from 'vuelayers'

Vue.use(SnapInteraction)
```
2 changes: 2 additions & 0 deletions docs/component/sputnik-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { SputnikSource } from 'vuelayers'

Vue.use(SputnikSource)
```
2 changes: 2 additions & 0 deletions docs/component/style-box.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { StyleBox } from 'vuelayers'

Vue.use(StyleBox)
```
2 changes: 2 additions & 0 deletions docs/component/tile-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ grids organized by zoom levels. It should be used together with tiled source com

```javascript
import { TileLayer } from 'vuelayers'

Vue.use(TileLayer)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/vector-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ used with together with [`vl-source-vector`](/docs/component/vector-source.md) c

```javascript
import { VectorLayer } from 'vuelayers'

Vue.use(VectorLayer)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/vector-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ draw any vector data on the map.

```javascript
import { VectorSource } from 'vuelayers'

Vue.use(VectorSource)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/vector-tile-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

```javascript
import { VectorTileLayer } from 'vuelayers'

Vue.use(VectorTileLayer)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/vector-tile-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { VectorTileSource } from 'vuelayers'

Vue.use(VectorTileSource)
```
2 changes: 2 additions & 0 deletions docs/component/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and **rotation** of the map.
```javascript
// vl-view component comes with vl-map
import { Map } from 'vuelayers'

Vue.use(Map)
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/component/wms-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { WmsSource } from 'vuelayers'

Vue.use(WmsSource)
```
2 changes: 2 additions & 0 deletions docs/component/wmts-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { WmtsSource } from 'vuelayers'

Vue.use(WmtsSource)
```
2 changes: 2 additions & 0 deletions docs/component/xyz-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

```javascript
import { XyzSource } from 'vuelayers'

Vue.use(XyzSource)
```

0 comments on commit c0b7618

Please sign in to comment.