Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Measure Widget

9 REPLIES 9
Reply
Message 1 of 10
sroussev
1856 Views, 9 Replies

Measure Widget

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

 

9 REPLIES 9
Message 2 of 10
emluv
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
Message 3 of 10
sroussev
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 

 

Message 4 of 10
emluv
in reply to: sroussev

Thanks..it worked!!

emluv
Message 5 of 10
elbison
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?

Message 6 of 10
elbison
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.

 

 

Message 7 of 10
elbison
in reply to: elbison

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

Message 8 of 10

Thanks,  that solved my problem.  Now if could figure out how to output to sq ft and acres.

Message 9 of 10
rudisilaen
in reply to: sroussev

thanks for the info, it's really help me a lot

Message 10 of 10
nitinpt
in reply to: sroussev

This is exactly what I needed. Thank you.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report