I have a google map running correctly.Now I want that map to be clipped to a bubble shape.It's not the pointer/market I am talking about, it's the entire map which has to be masked with a bubble overlay.Currently the map is in rectangular shape.
I have uploaded sample image.
http://s17.postimg.org/v26nk9p4f/mapbg.png
To be honest I am not sure if this is possible at all as before I explored some svg options and it doesn't seem to work with all browsers.
I could use the bubble as overlay at the top of the map but the overlay img has to be transparent and the background div has a different color.So that's the problem.
Is there any other trick or suggestions I can use to achieve the same out-put.
Many thanks in advance.
Create a bubble shaped clipPath and apply that to the map using the clip-path property.
The accepted answer to this question has an dynamic example which may be more complicated than you need but should show you the way to go.