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: 

Format coordinates from onDigitizedPoint

2 REPLIES 2
Reply
Message 1 of 3
juebill
1422 Views, 2 Replies

Format coordinates from onDigitizedPoint

I can get the x , y coordinates to display in a popup by using onDigitizedPoint but it gives me the coordinates to 6 decimal places.

How can I just display the figures before the decimal point ?
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: juebill

Assuming you are using JavaScript, you can use the parseInt() function or the Math.round() method to return an integer for you X and Y values. -- Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com "juebill" wrote in message news:2190166.1107960621370.JavaMail.jive@jiveforum1.autodesk.com... >I can get the x , y coordinates to display in a popup by using >onDigitizedPoint but it gives me the coordinates to 6 decimal places. > > How can I just display the figures before the decimal point ?
Message 3 of 3
ambarboza
in reply to: Anonymous

I need to make the same adjust on Basic layout

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

Post to forums  

Autodesk Design & Make Report