Android용 Places SDK의 버전 4.0에서 여러 장소 데이터 필드(Place.Field)가 변경되었습니다. 이전 필드는 지원 중단되었으며 Google Maps Platform 서비스 약관에 따라 삭제될 때까지 계속 작동합니다. 그러나 지원 중단된 필드가 포함된 앱은 빌드 경고를 반환합니다. 또한 버전 4.0에는 새로운 장소 데이터 필드가 추가되었습니다. 다음 섹션에서는 필드 변경사항 및 새 필드와 필드 사용, 결제, 가격에 관한 세부정보를 제공합니다.
버전 4.0의 필드 변경사항 및 지원 중단
다음 표에는 지원 중단된 필드와 대체 필드가 나와 있습니다.
지원 중단된 필드
새로운 필드
Place.Field.ADDRESS
Place.Field.FORMATTED_ADDRESS
Place.Field.ICON_URL
Place.Field.ICON_MASK_URL
Place.Field.LAT_LNG
Place.Field.LOCATION
Place.Field.NAME
Place.Field.DISPLAY_NAME
Place.Field.PHONE_NUMBER
Place.Field.INTERNATIONAL_PHONE_NUMBER
Place.Field.USER_RATINGS_TOTAL
Place.Field.USER_RATING_COUNT
Place.Field.WHEELCHAIR_ACCESSIBLE_ENTRANCE
Place.Field.ACCESSIBILITY_OPTIONS
버전 4.0에서 도입된 새로운 필드
Android용 Places SDK 버전 4.0에 다음과 같은 장소 데이터 필드가 추가되었습니다.
Place.Field.ACCESSIBILITY_OPTIONS
Place.Field.ADR_FORMAT_ADDRESS
Place.Field.ALLOWS_DOGS
Place.Field.CURRENT_SECONDARY_OPENING_HOURS
Place.Field.EV_CHARGE_OPTIONS
Place.Field.FUEL_OPTIONS
Place.Field.GOOD_FOR_CHILDREN
Place.Field.GOOD_FOR_GROUPS
Place.Field.GOOD_FOR_WATCHING_SPORTS
Place.Field.GOOGLE_MAPS_URI
Place.Field.LIVE_MUSIC
Place.Field.MENU_FOR_CHILDREN
Place.Field.NATIONAL_PHONE_NUMBER
Place.Field.OUTDOOR_SEATING
Place.Field.PARKING_OPTIONS
Place.Field.PAYMENT_OPTIONS
Place.Field.PRIMARY_TYPE_DISPLAY_NAME
Place.Field.RESOURCE_NAME
Place.Field.RESTROOM
Place.Field.SERVES_COCKTAILS
Place.Field.SERVES_COFFEE
Place.Field.SERVES_DESSERT
Place.Field.SHORT_FORMATTED_ADDRESS
Place.Field.SUB_DESTINATIONS
데이터 필드 사용, 결제, 가격 책정
장소 데이터 필드를 사용하여 필드 마스크를 만드는 방법과 각 필드 및 해당 SKU의 결제 및 가격 책정에 관한 자세한 내용은 다음 리소스를 참고하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-02-28(UTC)"],[[["Version 4.0 of the Places SDK for Android introduces new Place data fields and deprecates old ones, requiring updates to avoid build warnings and ensure future compatibility."],["Deprecated fields, such as `Place.Field.ADDRESS` and `Place.Field.LAT_LNG`, have been replaced with new fields like `Place.Field.FORMATTED_ADDRESS` and `Place.Field.LOCATION` respectively."],["A significant number of new Place data fields have been added in version 4.0, including options for accessibility, amenities, and operational details."],["Developers should consult the provided resources for details on using Place data fields, understanding billing implications, and accessing pricing information for each field."]]],["Version 4.0 of the Places SDK for Android introduced changes to Place data fields. Seven fields were deprecated, such as `ADDRESS` replaced by `FORMATTED_ADDRESS`, and `NAME` replaced by `DISPLAY_NAME`. Twenty-four new fields were added, including `ACCESSIBILITY_OPTIONS`, `FUEL_OPTIONS`, `PAYMENT_OPTIONS`, and `RESOURCE_NAME`. Deprecated fields will still function until removal, but will generate build warnings. Changes impact both Places SDK and Places SDK (New). For usage, billing, and pricing information refer to linked documentation.\n"]]