2

I want to add text where it says "score" to make it more clear that this is an address matching score.

enter image description here

I am using the LocateWidget_US.xml and do not think I can do it here. I think the place to do it may be in the LocateWidget.mxml in this line????

 locateResult.content = getDefaultString("resultScoreText") + " " + 
 (addrCandidate.score % 1 == 0 ? addrCandidate.score : addrCandidate.score.toFixed(1));

1 Answer 1

1

this is the code

locateResult.content = "Address Matching " + getDefaultString("resultScoreText") + " " + (addrCandidate.score % 1 == 0 ? addrCandidate.score : addrCandidate.score.toFixed(1));

to produce this:

enter image description here

2
  • the changed made to the code is causing the tool to not function properly, results do not display properly. I think i need to make a change in the LocateResultDataGroup.as or the LocateResult.as. Anyone have any idea where?
    – pdog
    Commented Jan 20, 2012 at 18:50
  • Did you make the change in the MXML and then re-compile? Commented Jan 27, 2014 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.