Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] How to set the scale denominator with Map Commands

Hi list,
 
some of my users don't want to use the text field below the map for setting the scale (denominator) nor want they use the zoom in or zoom out action. Therfore I will give them a slider widget with which they can set the scale from 1:10.000 to 1:1.000.000 (or something like that).
But how do I set the scale denominator for the actual map. I found no NavigationCommand for this. I checked the NavigationCommandFactory.getInstance.create... commands where I already use the ViewportCenterCommand for annother gimmick.
 
Can somehone help me with this?
 
thanks,
tony roth
 
 

Back to the top