Neil - if you are going off of the example from http://code.google.com/apis/maps/documentation/v3/examples/overlay-simple.html , I have figured out a way to toggle the opacity. In that example, there is the onAdd function, and in it, I added the following two lines in the img var creation:
//FF and Safari img.style.opacity = .5; //IE img.style.filter = 'alpha(opacity=50)'; Just did a quick test and it works! Hope this helps! On May 7, 7:49 pm, neavilag <[email protected]> wrote: > Hi Brad, did not got that about firebug and css, i use chrome. the png > file is generated automatically from rainfall data and the idea is > something like this on web. that is done with Google Earth > see link > > http://screencast.com/t/YjZhYmQ0NTI > > see the image is not opaque but the road and landmark information is > there, something like a background image of the map > > On May 7, 9:08 am, Brad <[email protected]> wrote: > > > > > Hey Neil - that's a great question that I was actually pondering > > myself. Not sure how you're implementing everything, but wondering if > > a simple semi-transparent png vs fully opaque might do the trick (but > > it doesn't sound like you want to be manually updating the > > transparency of each image). Other than that, I couldn't find > > anything off the bat about setting the opacity. It could never hurt > > to try and pass an opacity param (0<opacity<1). If that doesn't work, > > you could always try to view the layer in firebug and access it's css > > properties and add the opacity that way. > > > On May 6, 10:47 pm, neavilag <[email protected]> wrote: > > > > Hi Brad, the example was right about it, but is there a way to set a > > > Z.index or transparency to be able to see Gmaps data over the image.. > > > check this link how is implemented right now.. > > > >http://screencast.com/t/NGVlY2QxNj > > > > thanks again > > > > On May 6, 9:34 pm, Brad <[email protected]> wrote: > > > > > I think you might benefit from looking at the docs > > > > athttp://code.google.com/apis/maps/documentation/v3/overlays.html#Custo... > > > > and the examples > > > > athttp://code.google.com/apis/maps/documentation/v3/examples/overlay-si... > > > > andhttp://code.google.com/apis/maps/documentation/v3/examples/overlay-hi... > > > > > On May 6, 6:51 pm, "Norman E. Avila G." <[email protected]> wrote: > > > > > > Hi, I am starting with GMaps v3 since I think is really usefull for > > > > > mobile > > > > > access, I have a weather site, but will like to present some data to > > > > > cellphones, actually will like to add this > > > > > imagehttp://www.hrc-lab.org/CAFFG/realtime/uploads/current_mcidas_06hr_med... > > > > > a map with the town names, so users can see pottential flood areas. > > > > > > How is this possible, I have managed to place in Google earth but I > > > > > dont > > > > > know how to put in over a Gmap, Saw the overlay option and the > > > > > EInserts > > > > > approach but will like to implement in V3 to be able to see in Iphone. > > > > > > regards and thanks > > > > > > Norman > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > > > Groups "Google Maps JavaScript API v3" group. > > > > > To post to this group, send email to > > > > > [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]. > > > > > For more options, visit this group > > > > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Google Maps JavaScript API v3" group. > > > > To post to this group, send email to > > > > [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]. > > > > For more options, visit this group > > > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Maps JavaScript API v3" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group > > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
