• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide

    Reply
    Contributor
    Posts: 14
    Registered: ‎08-12-2008

    Measure Widget

    1083 Views, 6 Replies
    10-18-2010 06:21 PM

    Is there a way to set the measuring widget to feet by default with a commercial layer (Goggle Map).

    Currently, it shows distances in miles when Imperial units are selected.  Does not work very well for measuring setbacks on a parcel map, per se.

     

    Also with these commercial layers (Google Bing Yahoo) scale is rounded to some odd number.

    If I type scale 2000 it defaults to 2257.0001 ?  When commercial layer is not used than it works as intended.

     

    Thanks,

    Svet

     

    Please use plain text.
    Active Contributor
    Posts: 45
    Registered: ‎01-26-2009

    Re: Measure Widget

    12-16-2010 12:15 PM in reply to: sroussev

    Svet,

     

    Did you ever get this figured out?  I am dealing with the same thing and have not been able to figure it out.

     

    Thanks!

    emluv
    Please use plain text.
    Contributor
    Posts: 14
    Registered: ‎08-12-2008

    Re: Measure Widget

    12-22-2010 07:18 AM in reply to: emluv

    Hi,

     

    Yes I got a working solution:

     

    In Studio, for your Flexible Layout under the "ViewOptions" widget open the Edit XML and add Feet at the Display Units tag.  Your DisplayUnits tag in the XML should look something like this:

     ...

     

      <Extension>
        <DisplayUnits>Feet</DisplayUnits>
      </Extension>
     ...
    You probably can achieve the same result if you edit the measure widget itself by adding Feet for Units tag 

     

    Please use plain text.
    Active Contributor
    Posts: 45
    Registered: ‎01-26-2009

    Re: Measure Widget

    12-22-2010 07:55 AM in reply to: sroussev

    Thanks..it worked!!

    emluv
    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎03-10-2012

    Re: Measure Widget

    03-10-2012 11:06 AM in reply to: sroussev

    I can't seem to have both of these at the same time:

     

    Coordinate display in bottom left in decimal degrees

    Measurement in feet

     

    Why?

    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎03-10-2012

    Re: Measure Widget

    03-10-2012 11:17 AM in reply to: elbison

    In other words:

     

    I can set ViewOptions to "Feet" in the XML.

     

    On next launch, my coords are in feet, and I can measure both distance and area in feet.

     

    If I happen to switch to Degrees in the viewer, in order to see proper coords that mean something, I cannot get back to Feet measurement without a total refresh of the app (it reverts back to miles if I ever switch off of Feet).

     

    BTW, the miles setting isn't calculating area, but feet and meters will.

     

    Annoying program you got here.

     

     

    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎03-10-2012

    Re: Measure Widget

    03-10-2012 11:20 AM in reply to: elbison

    And, no, setting the measure tool units to Feet in the XML does not do it.

    Please use plain text.