Good

Google map, I click on balut, a hint comes out, in my case:

//1й баллут ( они в цикле проставляются ) var marker1 = new google.maps.Marker({ position: new google.maps.LatLng(00.1,00.1), map: map, title: '<div id="ballut1" style="width:200px; height:100px; border:1px solid red; margin:10px;">test</div>', icon: ballutImg1 }); 

The tip consists not only of my DIV, but around it is also a wrapper from Google with a close button. Can anyone give a useful link, or code surprise how to get rid of this wrapper and leave only the DIV which I want to show

ps on the Internet there are solutions, mainly with code in megabytes in size, which is not suitable for training

1 answer 1

Googla has an example showing how you can implement your own info window ... Although there are quite a lot of code, but everything is very clear.

http://googlemaps.imtqy.com/js-samples/infowindow_custom/infowindow-custom.html

Any other examples you can dig up here. http://googlemaps.imtqy.com/libraries.html

Here you can download an example from github ... https://github.com/googlemaps/js-info-bubble