geocoder limited to 6 results

3522
2
Jump to solution
05-19-2015 03:47 PM
RobbHodges
Occasional Contributor III

Is there a way to change the limit of 6 results when using the geocoder? We are using a composite geocoder that works fine, but it only returns the first 6 results. In some cases we have many more. Anyone know if this is possible and how?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RickeyFight
MVP Regular Contributor

Robb,

It depends on what  your code looks like but you can add more.

<Number> maxLocationsOptionalMaximum number of results to return. The default is 6.

This can be found here: Geocoder | ArcGIS API for JavaScript

Look at this sample:

Locate points of interest | ArcGIS API for JavaScript

View solution in original post

2 Replies
RickeyFight
MVP Regular Contributor

Robb,

It depends on what  your code looks like but you can add more.

<Number> maxLocationsOptionalMaximum number of results to return. The default is 6.

This can be found here: Geocoder | ArcGIS API for JavaScript

Look at this sample:

Locate points of interest | ArcGIS API for JavaScript

RobbHodges
Occasional Contributor III

Rickey,

Thank you! This has been bugging me for awhile. I'm still relatively new to the web appbuilder, but I should be able to figure it out from here. More than anything, I'm just glad to hear that it's possible.

0 Kudos