POST
|
yes its taking the suffix and displaying the result, there is no use of filter statement even if you hide the statement it is filtering result based on the suffix given, do we have any specific code for this issue??
... View more
06-16-2020
08:24 PM
|
0
|
0
|
606
|
POST
|
Thanks for the reply, if you type wisconsin it will show results from wisconsin state that should not be the case what ever i type it should filter results only from minnesota state. even i used the search-extent to specific rings am experiencing the same issue Let me look into the other links which you have given
... View more
06-15-2020
08:57 PM
|
0
|
2
|
606
|
POST
|
this is my code kindly help me out //searchwidget start const searchWidget = new Search({ view: view, locationEnabled: true, includeDefaultSources: false, allPlaceholder: "Search Location...", sources: [{ locator: new Locator({ url: "http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"}), countryCode:"US", categories:["Address" ,"Postal"], extent: {xmin:"-97.610790582999954", ymin:" 42.938855766000046", xmax:"-90.790790582999961", ymax:"49.758855766000039"}, "spatialReference": { "wkid": 4326 }, singleLineFieldName: "SingleLine", outFields: ["State", "Addr_type"], suffix: ",Minnesota,MN,USA", filter: {where: "State = 'Minnesota'"}, maxResults: 10, maxSuggestions: 5, suggestionsEnabled: true, minSuggestCharacters: 4, placeholder:"Find address" }] });
... View more
06-10-2020
08:19 PM
|
0
|
6
|
773
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|