Did you guys just add the minZoom to the custom map type??? Wow! I don't remember seeing it earlier.
On a whim, I was going to add my own property to my CustomMapType prototype, using the key minZoom that I'd read back later to do some calculations with. I saved my page, reloaded it and noticed that it actually did work, exactly as I was hoping it would, adjusting the zoom control UI and everything. If this is in fact new, THANK YOU! If not, please excuse my ignorance. On Mar 19, 9:20 am, Ben Appleton <[email protected]> wrote: > Adding a min zoom is a good idea, we should take a look. Meanwhile I > recommend capping zoom in zoom_changed. > > On 20 Mar 2010 00:02, "Brak" <[email protected]> wrote: > > Interesting idea. I wouldn't even need to change all my stored > coordinate values, just do the division on the fly when I construct > the markers and poly coordinates. > > Is there an *easy* way to set a minimum zoom level? I know you can set > a max, but a min? I'd like to have the UI reflect the new min if > possible. Intercepting the zoom_changed event and capping and > resetting the user's zoom seems really clunky but may be the only > option. Just adding 8 to the zoom level during a zoom_changed event > would probably create an infinite loop of zooming, where you would > eventually be able to see atoms <Sorry there's no map imagery for that > zoom level>. Alternatively, if I could somehow intercept the zoom > before it happened, I could adjust the zoom level and essentially put > an +8 offset into the zoom, so level 0 becomes 8, 1->9 etc. The UI > controls would still reflect the 0 end of the zoom scale and all would > be well. > > On Mar 17, 6:04 pm, Ben Appleton <[email protected]> wrote: > > > Nothing yet. Meanwhile, increase y... > > On 18 Mar 2010 05:20, "Brak" <[email protected]> wrote: > > > Any luck with the wrapping issue... > > -- > 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]<google-maps-js-api-v3%2b[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.
