Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Places SDK for Android mendukung
Foto Tempat yang ada.
Jika Anda sudah terbiasa dengan Foto Tempat yang ada, Foto Tempat versi baru
akan melakukan perubahan berikut:
Anda hanya dapat memanggil metode PlacesClient.fetchPhoto() jika mengaktifkan Places API. Metode tersebut
tidak tersedia jika Anda hanya mengaktifkan
Places API (Baru).
Jika objek PhotoMetadata yang ditampilkan menyertakan atribusi atau atribusi
penulis, Anda harus menyertakan atribusi ini dalam
aplikasi Anda di mana pun Anda menampilkan gambar. Lihat dokumentasi tentang
atribusi.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-01-14 UTC."],[[["Places SDK for Android now supports a new version of Place Photo with an updated pricing model and a new method for retrieving photos."],["The new Place Photo returns a URI to the image instead of a bitmap, supports larger photo sizes (up to 4800x4800 pixels), and requires enabling Places API (New)."],["To request a photo, use the `PlacesClient.fetchResolvedPhotoUri()` method with a `FetchResolvedPhotoUriRequest` object."],["The response includes `PhotoMetadata` containing author attributions that must be displayed when showing the image."],["Initialize your app with `Places.initializeWithNewPlacesApiEnabled()` to access the new author attributions in `PhotoMetadata`."]]],[]]