Opened 12 years ago

Closed 11 years ago

#2156 closed enhancement (fixed)

Ajax viewer X,Y coordinate precision are hard coded to 6 decimals

Reported by: poulet1212 Owned by:
Priority: low Milestone: 2.6
Component: AJAX Viewer Version: 2.1.0
Severity: trivial Keywords: mouse position decimal hard coded
Cc: External ID:

Description

In the Ajax viewer, the X,Y coordinates showing real time mouse position are hard coded to 6 decimals. Would be great to have a configuration in layout for this.

Also in ajaxmappane there is a "var us = false;" that determines later units (meter or foot) to show. Would be great to have this set by browser locale intead of hard coded.

Change History (4)

comment:1 by poulet1212, 12 years ago

Component: GeneralAJAX Viewer

comment:2 by jng, 12 years ago

See MapGuideRfc128. I wanted to tackle this as well, but this conflicts with the cookie-based mechanism of initializing this setting. There's a (currently empty) discussion thread on mapguide-internals about this RFC.

comment:3 by jng, 11 years ago

Milestone: 2.52.6

comment:4 by jng, 11 years ago

Resolution: fixed
Status: newclosed

r7189 means you can just edit the cursorPosDecimalPlaces variable in mainframe.templ

This is good enough of a fix.

Note: See TracTickets for help on using tickets.