Infrastructure Map Server Developer

Reply
Member
juebill
Posts: 3
Registered: ‎02-09-2005
Message 1 of 3 (1,180 Views)

Format coordinates from onDigitizedPoint

1180 Views, 2 Replies
02-09-2005 06:49 AM
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 ?
*Andy Morsell
Message 2 of 3 (1,180 Views)

Re: Format coordinates from onDigitizedPoint

02-09-2005 09:09 AM 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 ?
Active Member
ambarboza
Posts: 7
Registered: ‎03-27-2012
Message 3 of 3 (1,167 Views)

Re: Format coordinates from onDigitizedPoint

06-29-2012 04:17 AM in reply to: *Andy Morsell

I need to make the same adjust on Basic layout

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community