<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the coordinates are formated in dhtmlInit by
</FONT></DIV>
<DIV><FONT size=2>this.geoTag.innerHTML = sprintf(this.geoUnits,
Math.round(geoX), Math.round(geoY));</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>replace the Math.round(geoX) by Math.round(geoX*100)/100 and
some for Y</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>that shoud do the trick</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=goutosig@yahoo.fr href="mailto:goutosig@yahoo.fr">guillaume
champlong</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">carto web</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 09, 2007 11:45
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] display
coordinates</DIV>
<DIV><BR></DIV>Hi all,<BR><BR>I would like to know how to display the
coordinates with 2 decimals in the floatGeo div
(cartoclient.tpl).<BR><BR><BR>Thanks<BR><BR>G.<BR>
<P>
<HR SIZE=1>
Ne gardez plus qu'une seule adresse mail ! <A
href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</A> vers Yahoo!
Mail
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing list<BR><A
href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</A><BR></BLOCKQUOTE></BODY></HTML>