[Google Maps API v3] Re: Opacity for a KML Layer

2011-11-22 Thread Rossko
> Thanks.  Well here is my code.  It overlays a couple hundred fully > opaque tiles over a google map. Strictly speaking, it doesn't. Googles servers read your KML and render into the dozen or so tiles that fit the current API map. When you pan or zoom, the API fetches new tiles from Google. If

[Google Maps API v3] Re: Opacity for a KML Layer

2011-11-22 Thread Dave Herndon
Thanks. Well here is my code. It overlays a couple hundred fully opaque tiles over a google map. The "dim the lights" button changes the opacity of all the tiles but when you zoom in or scroll across the page the tiles revert back to there original opaque status. Can anyone help me to get this

[Google Maps API v3] Re: Opacity for a KML Layer

2011-11-22 Thread Marcelo
On Nov 22, 9:48 am, Dave Herndon wrote: > Cool, > As far as the MCustomTileLayer object.   I don't see any reference to KML > in the source code.  I suspect the code is not out where you can see it in > the source code correct? Read again what I wrote in my previous post. MCustomTileLayer has not

Re: [Google Maps API v3] Re: Opacity for a KML Layer

2011-11-22 Thread Dave Herndon
Cool, As far as the MCustomTileLayer object. I don't see any reference to KML in the source code. I suspect the code is not out where you can see it in the source code correct? Is this a pay to play object? Dave On Mon, Nov 21, 2011 at 10:00 AM, Marcelo wrote: > You cannot modify a KML layer

[Google Maps API v3] Re: Opacity for a KML Layer

2011-11-21 Thread Marcelo
You cannot modify a KML layer after it's been loaded because it is parsed and rendered from Google's servers. The only way to change it is to use an AJAX call to a server side script that modifies the KML file and then reload it. On the other hand, if you've already converted it to custom tiles th

[Google Maps API v3] Re: Opacity for a KML Layer

2011-11-21 Thread Dave Herndon
Hi, Did you ever get an answer to this question? I also have a kml overlay I diced up into tiles and need to set the transparency to 65%. The files are either .png or .jpeg. The transparency looked good in google earth but I need to get it done on a web page without GE. -- You received thi