Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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));
share|improve this question

1 Answer 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

share|improve this answer
    
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 at 20:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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