Select to view content in your preferred language

Enhanced Draw Widget 2.2.3 Bug???

1319
6
02-23-2011 10:13 AM
JamesKo
Occasional Contributor
Robert,

I posted a comment in the code gallery but just in case you didn't see it...I think I may have found a bug. The values for area, perimeter, and length in the context menu don't get updated after one edits the graphics.
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
James,

   I did see that. I have added it to my list. To many iron in the fire right now. Thanks for the info.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

   I can't seem to find the thread about your other issue with polylines. So I thought I would tell you here in this one the way to get out of editing (Adding Vertexes) for a line is to hold down the shift key and clicking on the line again that sets it to scale and move and then from that you can get out of the graphic editing mode.

The new version of the enhanced draw widget 2.2.4 is available today it resolves the area and perimeter context menus not getting updated and adds the ability to click a third time on a graphic to stop editing it.
0 Kudos
JamesKo
Occasional Contributor
Robert,

Many thanks!

Unfortunately, I'm having trouble downloading the code attachment. I'm getting the following xml error page:

- <Error>
  <Code>NoSuchKey</Code>
  <Message>The specified key does not exist.</Message>
  <Key>2312586348884a41b60d29532bea6da2/eDraw2.2.4.zip</Key>
  <RequestId>2FB5ED8BE29B3CFE</RequestId>
  <HostId>/WsSbn6f5P8DsFxG+ANT13eJLwI+G1487ZDQ3C5JxB3ra2738viqWJSKL5zUuYPs</HostId>
  </Error>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

  I just checked the the download and it works so I would say try again.
0 Kudos
JamesKo
Occasional Contributor
Robert,

Very strange... I was able to download your Identify and Enhanced Search Widgets but not this one. I'll try again later.

Thanks again.
0 Kudos
JamesKo
Occasional Contributor
Robert,

I just wanted to let you know everything's working great but I did notice a couple of minor things:

1. I added the following into function lengthsCompleteHandler:

if(cMenu.customItems.length>1)
    cMenu.customItems.splice(1,cMenu.customItems.length);

2. I noticed a small typo: changed recalulate to recalculate

As always, your presence on this board is invaluable. Thanks again.
0 Kudos