Non-interleaved GoogleMapsOverlay layers render above map controls #9069
Unanswered
camden-obertop
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
In my team's implementation of deck.gl, we are using the Google Maps API with a vector map id. We are using a
GoogleMapsOverlay
withinterleaved
set tofalse
. When we setinterleaved
totrue
, the layers render behind our customOverlayView
implementations. We do not want to upgrade ourOverlayView
s toWebGlOverlayView
s at the moment because that would be a large scale lift for the team.The one problem I have run into and not been able to reconcile is that the deck.gl layers are now drawn above the Google Maps map controls. The image below shows what happens when rendering this scatterplot layer from the documentation
I found in the deck.gl source code where it decides to create the overlay with google maps rendering type being
Vector
andinterleaved
beingfalse
. I think it would work if we could specify to use normalOverlayView
instead ofWebGLOverlayView
All this is to say - is this a problem on our end? Is it a bug in deck.gl? Or is it maybe a bug in Google Maps itself? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions