Google지도를 사용하는 탐색 응용 프로그램을 개발 중입니다.안드로이드에서지도를 검색하는 방법 Google지도 응용 프로그램?
"상점 검색"을 응용 프로그램과 함께 구현하려고합니다. 나는지도에서 장소를 검색 할 수있는 다음 코드 조각을 시도 :
List<Address> addresses = geoCoder.getFromLocationName(editAddress.getText().toString(), 5, 39.0, -73, 41.0, -71);
if(addresses.size() > 0)
{
geoPoint = new GeoPoint((int) (addresses.get(0).getLatitude() * 1E6), (int) (addresses.get(0).getLongitude() * 1E6));
mapController.animateTo(geoPoint);
mapController.setZoom(12);
mapView.invalidate();
editAddress.setText("");
}
그것은 검색 키는 "뉴욕"또는 "런던", 입니다 정확한 결과를 제공하지만 난 "을 검색 할 때 스타 벅스 "API는 결과를주지 않습니다.
이 특정 요구 사항에는 어떤 API를 사용할 수 있습니까?
감사합니다. CommonsWare. 나는 Google 장소 API 뒤에 있었지만 여전히 등록을 기다리고 있습니다. Google 장소가 아닌 다른 서비스를 제안 할 수 있습니까? – Dhanesh