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 , 12 years ago
Component: | General → AJAX Viewer |
---|
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Milestone: | 2.5 → 2.6 |
---|
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
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.