Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Xintong Xia committed Sep 16, 2019
1 parent 8bb2d86 commit e7b8621
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/api-reference/json/json-converter.md
Expand Up @@ -160,10 +160,12 @@ and used to resolve in this JSON object:

```json
{
"controller": "MapController",
"layers": [
{
"type": "Tile3DLayer",
"controller": "MapController"
"type": "ScatterplotLayer",
"data": ...,
...
}
]
}
Expand All @@ -176,6 +178,7 @@ will replace the constants' value with the value provided in configuration decla
controller: MapController, // MapController class from '@deck.gl/core'
layers: [
new ScatterplotLayer({
data: ...,
...
})
]
Expand Down

0 comments on commit e7b8621

Please sign in to comment.