[mapguide-users] How to set Default Tool & Units
stoff
mail at effing.org
Tue May 12 09:15:01 EDT 2009
Hi Kenneth,
works perfect! Thanks a lot for your input.
Best regards,
stoff
Kenneth Skovhede, GEOGRAF A/S wrote:
>
> To set the tool, you need to attach javascript code to the maploaded
> function in the viewer frame.
> Then call the ExecuteMapAction() function to select the desired tool (9
> in your case).
> The maploaded function/event is described in the developers guide.
>
> The ExecuteMapAction is described here:
> http://mapguide.osgeo.org/files/mapguide/docs/viewerapi/viewerapi.html
>
> To change to Meters, edit the ajaxmappane.templ file located here:
> C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\viewerfiles\ajaxmappane.templ
> change line 293 from:
> var us = true;
> to:
> var us = false;
>
> You can only change it on a "per server" basis.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> stoff skrev:
>> Hi! I have been searching how to switch the default tool to "Zoom by
>> rectangle" on application start, because I don't need selection
>> features in my application. ... without success Any ideas? Second
>> question: Where can I configure "Kilometers/Meters" as startup -Unit ?
>> Looking forward to your hints, stoff
>> ------------------------------------------------------------------------
>> View this message in context: How to set Default Tool & Units
>> <http://n2.nabble.com/How-to-set-Default-Tool---Units-tp2826969p2826969.html>
>> Sent from the MapGuide Users mailing list archive
>> <http://n2.nabble.com/MapGuide-Users-f1803227.html> at Nabble.com.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/How-to-set-Default-Tool---Units-tp2826969p2869063.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list