@Api public class StaticRegexGeocoderService extends Object implements GeocoderService
| Constructor and Description |
|---|
StaticRegexGeocoderService() |
| Modifier and Type | Method and Description |
|---|---|
CoordinateReferenceSystem |
getCrs()
CRS which is used for the results of this geocoder.
|
GetLocationResult[] |
getLocation(List<String> location,
int maxAlternatives,
Locale ignore)
Try to get a location for the strings passed.
|
String |
getName()
Name for the geocoder service.
|
void |
setGeocoderInfo(StaticRegexGeocoderInfo geocoderInfo)
Set configuration for service.
|
void |
setName(String name)
Set the name for this geocoder service.
|
public String getName()
GeocoderServicegetName in interface GeocoderService@Api public void setName(String name)
name - name@Api public void setGeocoderInfo(StaticRegexGeocoderInfo geocoderInfo)
geocoderInfo - configurationpublic CoordinateReferenceSystem getCrs()
GeocoderServicegetCrs in interface GeocoderServicepublic GetLocationResult[] getLocation(List<String> location, int maxAlternatives, Locale ignore)
GeocoderServicegetLocation in interface GeocoderServicelocation - location strings, from general to more specificmaxAlternatives - maximum number of alternatives which can be replied to the user, use as a hint, you can
return more, but they will be discarded.ignore - locale use for the location if known (can be null if not known)Copyright © 2013 Geosparc. All Rights Reserved.