[mapserver-users] Scalebar vs Numeric scale
Rui Gomes
ruijgomes at gmail.com
Mon Dec 8 19:01:53 PST 2008
Hi. I find a resolution to get the dpi.
The answer is in this forum topic:
http://www.webdeveloper.com/forum/showthread.php?threadid=169369
Use a hidden css div and a width 1 inch. Then use javascript (or
other) to get the offsetWidth (in pixel). The number of pixel is the
dpi resolution.
I don know if is the best answer but works
--
Rui Gomes
More information about the MapServer-users
mailing list