Deck.gl: IconLayer intersecting with map layer during tilting of the map

Created on 12 Oct 2020  路  2Comments  路  Source: visgl/deck.gl

I am using GeoJSON layer for map and IconLayer (using Auto Packing for icons and billboard: true) for the icons.

Currently I'm having the issue where the map layer is intersecting the the icons during tilting.
Please see the 2 screenshots I put below. Left one is top view without tilting, Right one is the view after tilting. As you see in right screenshot, icon is dissected by some lines on map layer.

image

I'm wondering if there's any way for the icons to be always positioned on top of map layer. Can anyone suggest a solution?

Thanks in advance ^^


question

Most helpful comment

You can turn off depth test with

new IconLayer({
  ...
  parameters: {
    depthTest: false
  }
})

All 2 comments

You can turn off depth test with

new IconLayer({
  ...
  parameters: {
    depthTest: false
  }
})

Thanks a lot, @Pessimistress !!! It's working as I expected now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jfuehner picture jfuehner  路  3Comments

rjimenezda picture rjimenezda  路  3Comments

heumsi picture heumsi  路  4Comments

nagix picture nagix  路  3Comments

ibesora picture ibesora  路  4Comments