<div dir="ltr">I forgot to mention that the code changes were made in 'MeasureWithBearing.js'.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 12, 2017 at 8:42 PM, Kevin Grootendorst <span dir="ltr"><<a href="mailto:kgrootendorst@gmail.com" target="_blank">kgrootendorst@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I would like to change the default measure units from feet to metres, but not sure how to do this.<br></div>I've modified the order of the units/lengths, such that metres is on top, 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' : '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' : 'km'}*/<br> ]<br> },<br><br><br></div>I see the /* set default units */ section too, but changing the [selected_index] does not change the default units of feet, only the number of units listed in the drop down.<br><br></div>Cheers,<br></div>Kevin<br></div>
</blockquote></div><br></div>