Hello.<br><br>I'm trying to draw small polygons and lines using wz_graphics but the positioning of my shapes is off by a couple of pixels in both Firefox and IE.<br><br>I create a drawing canvas using kaMap.createDrawingCanvas().<br><br>myDrawToolsCanvas = myKaMap.createDrawingCanvas();<br>myDrawToolsCanvas.id="myDrawToolsCanvas";<br> jg = new jsGraphics("myDrawToolsCanvas");<br><br>Then, as I click on my map I basically do something like <br><br>x_coords.push(e.clientX - parseInt(myKaMap.theInsideLayer.style.left))<br>y_coords.push(e.clientY - parseInt(myKaMap.theInsideLayer.style.Top))<br>jg.drawPolygon(this.x_coords, this.y_coords);<br><br>What can I do to avoid the slight offset that I'm seeing?<br><br>I saw someone had a similar issue <br><br>http://lists.maptools.org/pipermail/ka-map-users/2006-August/002137.html<br><br>but there was no follow - up re: the 2nd point .<br><br>Cheers,<br><br>Donal<br><br><p> 
                <hr size=1>
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spam_1gb/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">Inbox full of spam?</a> Get leading spam protection and 1GB storage with All New Yahoo! Mail.