On Feb 25, 9:53 pm, KC <[email protected]> wrote: > I am adding a rectangular overlay to a map: > > map.addOverlay(overlay); > > There are 3 things that I am trying to accomplish: > > 1. Hide the map under the overlay. > > When I zoom into the overlay, as the new tiles are loading and > being drawn, the regular google map is visible underneath. Is there a > way to make it blank? > > 2. Set limits to the zoom level > > My overlay only has tiles for zoom levels 4-10. Can I disable zooming > outside of those confines? > > 3. Set limits to the pan level > > My overlay only covers a limited rectangular area. Is the a way to > disable panning or scrolling or dragging outside of these bounds?
Have you seen Mike Williams' tutorial? More advanced stuff - Part 7 Restricting the range of map zooms and pans. http://econym.org.uk/gmap/range.htm -- Larry > > Any input from the Gmap experts would be great! > > Thanks, > > -KC -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
