esri/Directions authenticates but directions return nothing.

1726
0
05-15-2014 01:03 PM
JamesSampica
New Contributor
I have the directions widget authenticating successfully with ArcGIS online. My proxy is returning my token fine.

However whenever I attempt to route using the widget I get

Location could not be found.
Location could not be found.


This is for any address I type in. I have a geocoder hooked up to the widget as well that is giving my valid locations.

urlUtils.addProxyRule({
            urlPrefix: "route.arcgis.com",
            proxyUrl: "/proxy.ashx"
        });
        urlUtils.addProxyRule({
            urlPrefix: "traffic.arcgis.com",
            proxyUrl: "/proxy.ashx"
        });

this.directions = new Directions({
                    map: this._map,
                    geocoderOptions: options
});
0 Kudos
0 Replies