I had this working previously with some older cvs stuff. Basically I have a custom tool that when you click on a the map it puts a marker there. <br><br>My implementation is very simple. <br><br>On the tool initialization:
<br> // marker<br> this.canvas = this.kaMap.createDrawingCanvas(500); //zindex=500<br> this.img = document.createElement('img');<br> this.img.src = 'images/mapping/Marker.png';<br><br>Then I have a function on the tool that does this:
<br>this.kaMap.addObjectPix(this.canvas, (pixPosition[0] - 7.5), (pixPosition[1] -27), this.img );<br><br>I can't remember why I had the - 7.5 and -27 offsets.<br><br>Should this not work? Has anything changed. I should say my version I'm using now is over a month old so may I should upgrade to a new cvs version if there have been fixes in this area. I have tried AddObjectGeo too to pinpoint a specific place. It appears that the canvas or something just isn't showing up...
<br><br>Lastly the image is there so that does't appear to be the issue.<br><br>I hope this makes sense. Thanks much,<br>-- <br>Clark Endrizzi<br>