More than one GoogleMapsOverlay at a time #9252
-
I'm looking to implement a combination interleaved/not-interleaved layer setup for an application I'm building, specifically because points in point layers get eaten by the buildings on vector maps when you zoom in close enough. Having the point layer go in to a non-interleaved overlay makes them visible on top. The problem I'm running in to is when I have both an interleaved and non-interleaved overlay, only the interleaved one shows and layers from the non-interleaved overlay get in to the overlay and log out to the console but don't ever make data requests for tiles. Has anyone run in to this before? Maybe have a solution in hand? Thoughts and prayers also welcome! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Got an answer to my own q here - holding the overlays in state/memo is the key. This unrelated issue was discussion post was incredibly helpful - #7954 |
Beta Was this translation helpful? Give feedback.
Got an answer to my own q here - holding the overlays in state/memo is the key. This unrelated issue was discussion post was incredibly helpful - #7954