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

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

  • 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 Jan 20 '12 at 18:50
  • Did you make the change in the MXML and then re-compile? – randomblink Jan 27 '14 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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