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.
Just saw this post and had a hard time trying to sort this out, but here is an example of what I came up with. I used the path of an SVG I exported from Sketch, it still needs a bit of tweaking but have fun with it.
index.html
script.js
style.css