Hello! The DLL is automatically registered when the sample is compiled.
You can see how it works if you open the file CutomTrafficProvider.csproj in Notepad++ or some other text editor. Scroll down to the bottom of the file and there are "BeforeClean"and "AfterBuild" sections telling the project to unregister before building and register after.
If you think it might not be working, try to register the DLL manually just to make sure it can. For ArcMap, it would be something like this:
c:\ProgramFiles (x86)\Common Files\ArcGIS\bin>esriRegAsm.exe <Path to your DLL> /p:Desktop
I have done everything as the website says, but still the custom provider option does not appear on traffic data tool. I tried using also the absolute paths of the files but still nothing. What I am doing wrong?
I'll download and retry setting up the custom feed. What version of ArcMap are you using? And what version of Visual Studio?
Are you using just the code as-is along with the sample data as-is? Or did you make any change or use your own data?
Thanks
It all appears to be working for me. I went through the steps and when I opened up ArcMap and the traffic data tool, Custom Provider showed up.
Glancing at your screen shots, it looks like the GUID for the provider is different than mine. The one I used was:
{929DFEE5-11DC-4BC9-B66F-B493A4470451}
You get that GUID from the top of the TrafficProvider.cs file. Make sure your provider GUID matches the one in the code.
I hope that fixes it!
It still doesn't work. I used your GUID number which is the same with mine, but nothing didn't change. I also tried to use the GUID numbers which are contained at the TrafficProviders.xml file and it worked. My ArcMap version is 10.4
Hmmm... I'll install 10.4 and give that a shot.
When you compile does a popup appear that says "Registration Succeeded"?
Can you email me a zip of your code and your TrafficProviders.xml? pstevens@esri.com
Hi Patrick Stevens,
I would like to thank you for developing Custom Traffic Provider tool.
https://www.arcgis.com/home/item.html?id=e11126ea20e941bd9644046e62e2bdbe
is this tool is supported by latest ArcMap version 10.8.2? and can it be used to develop custom traffic provider?
Looking forward to hearing from you!
Thanks in anticipation.