Select to view content in your preferred language

Address Location Tool Sample Alternative

3510
11
07-18-2012 02:18 PM
TanyaOwens
Frequent Contributor
Does anyone have or has come across a viewer tool for Address location that follows the structure of the API Address location code from the API concepts http://help.arcgis.com/en/webapi/silverlight/help/index.html#/Address_Locator_task/01660000001r00000... that they would be willing to share? I find the sample address location tool for the viewer difficult to follow and modify.

Thanks!
0 Kudos
11 Replies
TomMagdaleno
Frequent Contributor
Tanya,
  Thank you for posting, I'm working through the same issues and am also not a programmer.  I have been fussing around with the API code and the Viewer code.  Did you ever get your code to work?  I have copied all the parts of the code and I am trying to make it work.  If you have a working solution I would love to see it.
0 Kudos
TanyaOwens
Frequent Contributor
Hi Tom,

To be honest, I decided to work with the API and ESRI Templates for the API instead of creating a viewer add-in. I added the code that Katy provided and would get an error when I tried to run it in the viewer. I have a lot of trouble figuring out how to debug correctly using the viewer - I followed the steps from the concepts :http://help.arcgis.com/en/webapps/silverlightviewer/help/#/Visual_Studio_template/01770000000w000000... but without success. Also, with the help of friend that is a developer I was informed that when using the viewer template in visual studio I needed to go to the properties of the project, in the web tab and choose Silverlight as the Debugger. Also I needed to right click on the project and set it as the start up project. And finally on the index.htm, right click and set as start page. But even with all this I was unsuccessful. Being new to this I just found the API and templates to be much easier. There also seems to be a lot more support on the API forum, which is very helpful as a beginner.

If I remember correctly from the Users Conference - the next release should have more configuration options in the address locator, which should be coming out late September/early October, hopefully. I would like to try working with viewer add-ins again. I am hoping the upgrade will help. Along with that I decided to enroll in a c# programming class. It seems like MVVM is the programming style the viewer is working with. Katy sent me this link that I found helpful with that: http://video.esri.com/watch/1185/software-development-and-design-using-mvvm.

I hope that helped, sorry I don't have much in the way of code for the viewer. If you would like more info on my API/Template application feel free to email me directly.

-Tanya
0 Kudos