public class ArcGisRestSearchClient extends SearchClient
SEARCHTERM_HOLDER| Constructor and Description |
|---|
ArcGisRestSearchClient(String url) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
autosuggest(String query) |
String |
getUrl() |
SearchResult |
search(String query) |
void |
setUrl(String url) |
locationToBBOXpublic ArcGisRestSearchClient(String url)
public SearchResult search(String query)
search in class SearchClientquery - The term which must be found
[
{
location :{
minx: double,
miny: double,
maxx: double,
maxy: double
},
type: {String}, // For openLS this is one of: Street, MunicipalitySubdivision, Municipality,CountrySubdivision, for solr it is the name of the configuration
label: {String}
}
]
public String getUrl()
public void setUrl(String url)
public org.json.JSONArray autosuggest(String query)
autosuggest in class SearchClientCopyright © 2019. All rights reserved.