AnsweredAssumed Answered

esri.toolbars.Draw - points drawn in wrong position

Question asked by peterbridger on Jul 12, 2012
Latest reply on Jul 12, 2012 by DSwingley-esristaff
I'm working on a project which is integrating ESRI ArcGIS with the .net Umbraco CMS.

We have a fairly fully functioning data editor, which allows for spatial objects to be created for content on the website. However the biggest remaining issue is that when point, polylines or polygons are drawn on the map the points are drawn in the wrong place.

For instance if I click on the map to draw a point, it won't appear where the mouse is, but instead about 100 pixels lower.

I'm guessing it's to do with either:

  • The browser window Y scrollbar not being used in position calculations

  • The map being inside a frame (Which is how the Umbraco admin works)

  • Problem with use of position:absolute on map DIV

Does anyone have any experience of a simular issue? Is it a bug or something I'm not doing correctl