From 1549262622ebdec3ecbf796806bacfe5fce95ea7 Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Fri, 20 Dec 2019 10:17:49 -0800 Subject: [PATCH] fix Tile3DLayer docs (#4063) --- docs/layers/tile-3d-layer.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/layers/tile-3d-layer.md b/docs/layers/tile-3d-layer.md index 1afa929ddd4..5dfad9b51b8 100644 --- a/docs/layers/tile-3d-layer.md +++ b/docs/layers/tile-3d-layer.md @@ -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 { @@ -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({}); ``` @@ -64,6 +64,7 @@ To use pre-bundled scripts: + ``` ```js @@ -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)