[fusion-users] Fusion Questions
Mike Adair
madair at dmsolutions.ca
Wed Jul 16 09:09:22 EDT 2008
Currently, there is a call to map.setViewOptions() registered as a map
loaded listener which sets the units for all widgets that register a
"units' parameter with the map (CursorPos, ViewSize, measure, etc.).
The ViewOptions widget is used to switch between units for all those
widgets.
It may make more sense for each widget to specify it's own units, and if
a "ViewOptions" widget is required in the application, it should list
the widgets under it's control?
Mike
> As far as the independent units for widgets, I did try using the <Units>
> tag inside <Extension> but that didn't give me any different results.
> The reason I asked this was that the MapGuide/Fusion example does have
> this for the CursorPosition & ViewSize widgets. I want the
> CursorPosition widget to be in decimal degrees (which I have already),
> and the ViewSize widget to be in miles.
>
More information about the fusion-users
mailing list