deck.gl可以用openLayers代替mapbox吗?

Created on 22 May 2017  ·  5Comments  ·  Source: visgl/deck.gl

deck.gl可以用openLayers代替mapbox吗?

Most helpful comment

deck.gl可以用openLayers代替mapbox吗?

@zhangzn3 deck.gl does not depend on mapbox so it should be possible. You'll want a react wrapper for openlayers, perhaps you could try something like react-openlayers.
Then just send the same lng,lat,zoom props to react-openlayers and the deck.gl component.

All 5 comments

deck.gl可以用openLayers代替mapbox吗?

@zhangzn3 deck.gl does not depend on mapbox so it should be possible. You'll want a react wrapper for openlayers, perhaps you could try something like react-openlayers.
Then just send the same lng,lat,zoom props to react-openlayers and the deck.gl component.

我deck.gl,openLayers设置成一样的lng,lat,zoom ,坐标竟然有偏差。。。

貌似只是纬度有偏差。。什么原因?

还有个问题,我看render后的DOM结构,mapBox地图在底层,deck.gl层覆盖在mapbox层上面,为什么onChangeViewport事件写在mapbox里而不是deck.gl层里? 怎么触发changeViewport的呢

Is there any example code to use react-openlayers in deck.gl?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jfuehner picture jfuehner  ·  3Comments

Dieegho picture Dieegho  ·  3Comments

heumsi picture heumsi  ·  4Comments

TareqAlqutami picture TareqAlqutami  ·  3Comments

jianhuang01 picture jianhuang01  ·  3Comments