Patrick, like Mike mentions, try gif or png format instead. Though if you use Map Cruncher for the http://www.tymonrovers.com/attachments/Patrick/IMap/overlay.jpg image then it will create the right image sizes for each zoom (256x256px) - Tile Overlays
This will be a faster way to load the files - using the same method of Google Maps/Virtual Earth. Here is an excellent guide http://www.bdcc.co.uk/GoogleCrunch/Crunch.htm Mapperz http://mapperz.blogspot.com/ On Feb 13, 7:15 am, Mike Williams <[email protected]> wrote: > Wasn't it Patrick who wrote: > > >4). When I click satellite view on my map, this loads as it should, > >but my overlay is still there blocking the satellite view of the > >hospital. Is there a way that when users click satellite, that my > >image could dissapear and the satellite should load as per usual. > > Listen for "maptypechanged" events and .show() or .hide() the GOverlay > as appropriate. > > GEvent.addListener(map, "maptypechanged", function() { > if (map.getCurrentMapType() == G_NORMAL_MAP) { > hosp.show() > } else { > hosp.hide() > } > > }); > > --http://econym.org.uk/gmap > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
