Custom lock with Google Maps api v3?

I am trying to create a custom infowindow window on google maps api. If this is not possible, I want to at least remove the rounded corners for the popup. Is it possible?

I tried to use

InfoWindow({ content: "<h3>" + title + "</h3>", boxStyle: { styles } }) 

but boxStyle does nothing.

+6
javascript google-maps google-api
source share
1 answer

You can use the InfoBox class from the Google Utility Library . Or you can write your own class overriding the default style

+11
source share

All Articles