I'm using Google maps V3 API . I've added a custom control on the Map. Its having a width of 350px and height 300px. When i open infoWindow on Map, custom control will overlap infoWindow.
is there any way to put infoWindow on top of the custom control?
Without some code in your question that demonstrates your issue, we're more or less just guessing at what your problem is.
Looking at the reference documentation for google.maps.MapPanes
tells us that the InfoWindow lives within the top-most layer, but it's not clear what pane these google.maps.Map.controls
fall under.
What you're trying to do may not be possible, by design. I'd say it was a purposeful decision by the Google Maps team to ensure that the map controls are never obscured.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With