[mapguide-users] Few questions about viewer options

Adrià amptarraco at hotmail.com
Tue Mar 27 03:47:11 EDT 2007


Hi,

1- Edit mainframe.templ, search for the function OnCursorPosChanged(x, y),
search for:
            x = pt.X.toFixed(6);
            y = pt.Y.toFixed(6);
and change the 6 for the number of decimal places you want

2- Edit ajaxmappane.templ, search for:
            var us = true;
and set it to false.

Hope this helps




Krunoslav wrote:
> 
> Hi all.
> 
> I have few questions about default settings for ajax viewer. I checked all
> configuration files, but so far I couldn't find any options for this:
> 
> 1. Coordinates precision: X and Y coordinates are by default round to 6
> decimal places. Since this is really unnecessary, I would like to cut this
> to 2 decimal places.
> 
> 2. Default measuring units: Where can I change default measuring units to
> metric ? I can change this manually in task pane (View Options > Change to
> metric), but I would like this setting to be default. 
> 

-- 
View this message in context: http://www.nabble.com/Few-questions-about-viewer-options-tf3465137s16610.html#a9687854
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list