Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

custom controls are overlapping infowindow on Google Map Apiv3

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?

like image 209
Amit Pandey Avatar asked Jul 12 '13 11:07

Amit Pandey


1 Answers

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.

like image 152
André Dion Avatar answered Sep 30 '22 15:09

André Dion