WAB Directions widget shows coordinates instead of address

4591
32
Jump to solution
08-02-2017 11:33 AM
JeffPace
MVP Alum

WAB in Portal 10.5.1 is still showing coordinates instead of addresses in 10.5.1 (10.5.1 server routing service also) when using a local geocode service

It also displays mixed coordinates, web mercator sometimes, lat/long other times

The actual reversegeocode results for these two points contained a valid address.

{"address":{"Street":"611 13TH AVE E","City":"BRADENTON","ZIP":"34208","Match_addr":"611 13TH AVE E, BRADENTON, 34208"},"location":{"x":-9190285.6009550039,"y":3184609.8380619353,"spatialReference":{"wkid":102100,"latestWkid":3857}}}

The app is publicly facing
ArcGIS Web Application 

any ideas?
dlaw-esristaff
Tags (2)
32 Replies
Jianxia
Esri Regular Contributor

That is the fix!

0 Kudos
JeffPace
MVP Alum

Ok, so whats the fix for Portal?

0 Kudos
JeffPace
MVP Alum

I can confirm that adding the line 

this.config.searchOptions.sources[0].searchTemplate = "${Match_addr}";

Into the appropriate files in Portal does fix the issue