<div dir="ltr">That works - thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 9:18 AM, Dan Little <span dir="ltr"><<a href="mailto:theduckylittle@gmail.com" target="_blank">theduckylittle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try adding this to your mapbook:<br>
<br>
<configuration><br>
 ...<br>
 <param name="measure_tool.line_units"<wbr>>m</param><br>
 <param name="measure_tool.area_units"<wbr>>m</param><br>
 ...<br>
</configuration><br>
<br>
<br>
The important part being the <param> as you'll likely have other<br>
things in <configuration>.<br>
<br>
<br>
On Wed, Apr 12, 2017 at 7:46 PM, Kevin Grootendorst<br>
<<a href="mailto:kgrootendorst@gmail.com">kgrootendorst@gmail.com</a>> wrote:<br>
> I forgot to mention that the code changes were made in<br>
> 'MeasureWithBearing.js'.<br>
><br>
> On Wed, Apr 12, 2017 at 8:42 PM, Kevin Grootendorst<br>
> <<a href="mailto:kgrootendorst@gmail.com">kgrootendorst@gmail.com</a>> wrote:<br>
>><br>
>> I would like to change the default measure units from feet to metres, but<br>
>> not sure how to do this.<br>
>> I've modified the order of the units/lengths, such that metres is on top,<br>
>> but this did not affect the default units.<br>
>><br>
>> units: {<br>
>>         length: [<br>
>>             {'label' : 'Meters', 'inches_per' : 39.37, 'unit' : 'm'},<br>
>>             {'label' : 'Kilometers', 'inches_per' : 39370.079, 'unit' :<br>
>> 'km'},<br>
>>             {'label' : 'Feet', 'inches_per' : 12, 'unit' : 'ft'},<br>
>>             {'label' : 'Miles', 'inches_per' : 63360, 'unit' : 'mi'}<br>
>>             /*{'label' : 'Yards', 'inches_per' : 36, 'unit' : 'yd'},<br>
>>             {'label' : 'Inches', 'inches_per' : 1 ,'unit' : 'in'},<br>
>>             {'label' : 'Kilometers', 'inches_per' : 39370.079, 'unit' :<br>
>> 'km'}*/<br>
>>         ]<br>
>>     },<br>
>><br>
>><br>
>> I see the /* set default units */ section too, but changing the<br>
>> [selected_index] does not change the default units of feet, only the number<br>
>> of units listed in the drop down.<br>
>><br>
>> Cheers,<br>
>> Kevin<br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Geomoose-users mailing list<br>
> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geomoose-<wbr>users</a><br>
</blockquote></div><br></div>