[fusion-users] Fusion default DisplayUnit
Suhaimi AK
suhaimiak at gmail.com
Mon Nov 24 15:02:13 EST 2008
Thank you Andrew, it helps me a lot :-D
Andrew Parker-6 wrote:
>
> I do not now if this is the best way, but this is how I changed the units:
>
> In ApplicationDefinition.xml search for "units" and changed all value to
> miles (or whatever unit you want). When you search for "units" you will
> either find <Unit> tags and <DisplayUnits> tags. You can see my changes
> at http://216.93.173.156/demo.
>
> Look at the Fusion API for available units. For example, the options
> for the measure toolbar are listed at
> http://trac.osgeo.org/fusion/wiki/Widgets/Measure.
>
> I also changed the units of the coordinate position to Lat/Long. In the
> ApplicationDefinition.xml, I changed the <Template> tag to as follows:
>
> <!-- STATUS POSITION -->
>
> <Widget xsi:type="WidgetType">
> <Name>StatusCoords</Name>
> <Type>CursorPosition</Type>
> <StatusItem/>
> <Extension xsi:type="CustomContentType">
> <Template>Lat/Long: {y}, {x}</Template>
> <Precision>4</Precision>
> <EmptyText>&nbsp;</EmptyText>
> </Extension>
> </Widget>
>
> As for the scale, I am not sure. Are you using MapServer? If so, maybe
> you can set the scale in MapServer?
>
>
> Andrew
>
>
>
>
> Suhaimi AK wrote:
>> Hi,
>>
>> I'm using fusion and customize ApplicationDefinition.xml using the maroon
>> template example. I'm creating my map using maestro.
>>
>> My problem is, my map display units is start in metrics. So do my scale
>> with
>> scale 1:104857600104.4932 for example. How can i change my default units
>> and
>> scale to 1:50000 or 1:100000.
>>
>> Thank you in advance.
>>
>>
>> Regards.
>> Suhaimi AK
>>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
--
View this message in context: http://www.nabble.com/Fusion-default-DisplayUnit-tp20648904p20668634.html
Sent from the Fusion Users mailing list archive at Nabble.com.
More information about the fusion-users
mailing list