Robert -- Great improvements to an already wonderful widget.
I wanted to make a few modifications and have spent the past 6 hours messing with it, getting about a 33% success rate. Being a complete noob to Flash or any other programming, I have been attempting many things on my own in order to learn. Various co-workers have been stopping by and telling me to give up!!! So here I am....
First, I am attempting to add NAD38 CONUS to the list of point units. I simply added
<pointunit abbr="nad83dd" wkid="104223">Decimal Degrees (NAD83 CONUS)</pointunit>
for decimal degrees, and it... works. Should this work or am I missing a huge step?
If the above is wrong, this next one is probably way off...
Second, I'd like to add the DMS version of the above. In looking at your code modifications in the xml and mxml, I am making a rather large assumption. Since I cannot find reference to any of your default "abbr" values other than "wgs84dms" in the mxml, that is the only value that is used. It also appears that the //Compute degrees, minutes and seconds: code is just a general conversion, not tied to any specific GCS or Projection. I just changed the abbr value to "alldms" and made the same change to my xml for both the wgs84dms and my new nad83dms abbr values. Is this completely wrong?
Last -- is there ANY way to add decimal places to the Decimal Degrees text (show measurements)?
Thanks much!!
--Adam