[Core sample] added todos
This commit is contained in:
parent
749b65d13d
commit
a5bf2c37a6
3 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,7 @@ public class SearchScope {
|
|||
}
|
||||
|
||||
public void setupAddressSearchCriteria(AddressesByNameSearch.Criteria criteria) {
|
||||
//not implemented
|
||||
// not implemented
|
||||
}
|
||||
|
||||
public boolean processPoiSearchObject(PoiSearchObject poiSearchObject) {
|
||||
|
|
|
@ -10,6 +10,7 @@ public class SearchObjectsHelper {
|
|||
public static SearchPositionObject getAddressObject(Address address) {
|
||||
|
||||
switch (address.getAddressType()) {
|
||||
//todo add Building type to Address class
|
||||
case Street:
|
||||
StreetInternal street = new StreetInternal(address);
|
||||
return new StreetSearchObject(street);
|
||||
|
|
|
@ -148,6 +148,7 @@ public class CoreSearchRequest extends SearchRequest {
|
|||
// Setup Addresses by name search
|
||||
AddressesByNameSearch addrByNameSearch = new AddressesByNameSearch(searchScope.getObfsCollection());
|
||||
final AddressesByNameSearch.Criteria addrByNameCriteria = new AddressesByNameSearch.Criteria();
|
||||
//todo implement StreetGroup and Street parameters in AddressesByNameSearch.Criteria and apply them here
|
||||
addrByNameCriteria.setName(keyword);
|
||||
if (searchScope.getObfAreaFilter() != null) {
|
||||
addrByNameCriteria.setObfInfoAreaFilter(new NullableAreaI(searchScope.getObfAreaFilter()));
|
||||
|
|
Loading…
Reference in a new issue