EFA: Don't try to convert coordinate result to address.

This commit is contained in:
Andreas Schildbach 2017-04-25 12:54:49 +02:00
parent ac745f66c9
commit ca4c81ac4a

View file

@ -805,9 +805,9 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
place = locality != null ? locality : defaultPlace;
name = buildingName != null ? buildingName : streetName;
} else if ("coord".equals(type)) {
locationType = LocationType.ADDRESS;
place = defaultPlace;
name = nameElem;
locationType = LocationType.COORD;
place = null;
name = null;
} else {
throw new IllegalArgumentException("unknown type/anyType: " + type);
}