Skip to content

Commit

Permalink
fix Tile3DLayer docs (#4063)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress authored Dec 20, 2019
1 parent 8815f19 commit 1549262
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/layers/tile-3d-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ References
```js
import React, {Component} from 'react';
import DeckGL from '@deck.gl/react';
import {Tile3DLayer} from '@deck.gl/tile-layers';
import {Tile3DLayer} from '@deck.gl/geo-layers';

export default class App extends Component {

Expand Down Expand Up @@ -49,11 +49,11 @@ To install the dependencies:
```bash
npm install deck.gl
# or
npm install @deck.gl/core @deck.gl/tile-layers
npm install @deck.gl/core @deck.gl/geo-layers
```

```js
import {Tile3DLayer} from '@deck.gl/tile-layers';
import {Tile3DLayer} from '@deck.gl/geo-layers';
new Tile3DLayer({});
```

Expand All @@ -64,6 +64,7 @@ To use pre-bundled scripts:
<!-- or -->
<script src="https://unpkg.com/@deck.gl/core@^8.0.0/dist.min.js"></script>
<script src="https://unpkg.com/@deck.gl/layers@^8.0.0/dist.min.js"></script>
<script src="https://unpkg.com/@deck.gl/geo-layers@^8.0.0/dist.min.js"></script>
```

```js
Expand Down Expand Up @@ -169,4 +170,4 @@ Follow [CompositeLayer](/docs/api-reference/composite-layer.md#_subLayerProp) an

## Source

[modules/tile-layers/src/tile-3d-layer](https://github.com/uber/deck.gl/tree/master/modules/geo-layers/src/tile-3d-layer)
[modules/geo-layers/src/tile-3d-layer](https://github.com/uber/deck.gl/tree/master/modules/geo-layers/src/tile-3d-layer)

0 comments on commit 1549262

Please sign in to comment.