Android Skobbler映射:反向Geocoder为SKSearchResult中的某些属性返回NULL
在SKSearchResult对象下,参数street、house number、Neighbour、zip code、state code、region、citySector、state和poi在结果中始终包含NULL。有什么解决办法吗?谢谢Android Skobbler映射:反向Geocoder为SKSearchResult中的某些属性返回NULL,android,reverse-geocoding,skmaps,skobbler-maps,Android,Reverse Geocoding,Skmaps,Skobbler Maps,在SKSearchResult对象下,参数street、house number、Neighbour、zip code、state code、region、citySector、state和poi在结果中始终包含NULL。有什么解决办法吗?谢谢 if(mapView!=null) { SKSearchResult result = SKReverseGeocoderManager.getInstance().reverseGeocodePosition(mapView.getMa
if(mapView!=null) {
SKSearchResult result = SKReverseGeocoderManager.getInstance().reverseGeocodePosition(mapView.getMapCenter());
if (result != null) {
String address = "";
Log.d("Test", " result " + result.getAddress());
address+=result.getName()+"\n";
//address+=result.getAddress();
if(result.getAddress().getStreet() != null)
address+=" "+result.getAddress().getStreet();//here return null
if(result.getAddress().getHouseNumber() != null)
address+=" "+result.getAddress().getHouseNumber();//here return null
btnAddress.setText(address);
}
}
这是最新版本的SDK吗?3.0.0?@Ando我也有同样的问题,我正在使用SDK 3.0.1