Select to view content in your preferred language

World Traffic Service

1165
5
Jump to solution
12-14-2017 05:21 AM
jaykapalczynski
Honored Contributor

I am looking to leverage this Traffic Service in my javascript app.

World traffic | ArcGIS API for JavaScript 3.22 

I have an ArcGIS online organization account

But my question is can I embed the credentials so I dont have to enter them everytime?  

Do I need to write my own proxy?  

Very confused.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
jaykapalczynski
Honored Contributor

Once I create the proxy how do I reference and draw this in a javascript app?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jay,

   That is well covered in step 12 of the blog.

0 Kudos
jaykapalczynski
Honored Contributor

was just curious how to turn the layer on and off

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jay,

   The proxy does nothing but handle the login for you. You will have to add the layer in your code the same way you do any other layer.