daimz — 2012-06-22T23:12:54-04:00 — #1
How can I go about targeting the map tiles inside the google maps iframe so I can then use jQuery to change the tile opacity?
chris_upjohn — 2012-06-23T06:15:49-04:00 — #2
daimz — 2012-06-24T00:32:26-04:00 — #3
Well that would make sense as to why when I tried targeting it with the jQuery it wasn't working... thought I had just done it wrong.
I think Google maps V3 is possible to add inside <div> rather than the iFrame (correct me if I am wrong) so I might look down that ally. I am using a Wordpress plugin called Geo-Mashups so I might check with them if it is possible to include the maps as a <div>
Thanks for the help.
chris_upjohn — 2012-06-24T02:27:23-04:00 — #4
It should wouldn't matter as Google always embeds there content within an iframe last time i checked, may i ask why you intend to change the opacity of the tiles?
daimz — 2012-06-24T03:02:37-04:00 — #5
I want to lay the maps over a texture and bring the texture through... easier done in Photoshop and thats where my experience really is.
I have managed to find find a jQuery google maps plugin that uses a <div> for the maps which is great because I open up the developer tools and wat able to find the right div and change it's opacity. So it is do able. I just have the problem now that the div that holds the tile image has no ID which makes leaves me with the challenge of how to assign id's to the tiles and then use CSS to style them.