[OpenMap Users] Setting Zoom Levels

From: Sammy Morgan <samdeking_at_email.domain.hidden>
Date: Fri Nov 09 2007 - 00:05:13 EST

Dear Open-Mappers,

A) I would like to restrict the zoom level both maximum and minimum so that the user cannot zoom out beyond a specific scale/float, as well as limit the zooming in action so that it doesn't go below than a specific float/scale.

What is the best way to do this? A not too elegant way that im considering would be to listen to the zoom events and once outside of a range, automatically set the scale back to within the range by calling mapbean.setScale(); I would be appreciative of another approach

Best Regards

Samuel Morgan
TryCatch Interactive

 __________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Nov 9 00:39:01 2007

This archive was generated by hypermail 2.1.8 : Fri Nov 09 2007 - 00:39:01 EST