What is the difference b/w animateCamera and moveCamera in google V2 maps?
Hi guys while doing a sample project on android v2 maps for setting the current location. I came across couple of lines //what does this line do? mMap.moveCamera(CameraUpdateFactory.newLatLng(lat...
stackoverflow.com
animateCamera는 애니메이션 사용하기에 화면 전환이 부드럽고
moveCamera는 해당 화면으로 바로 이동.
#animateCamera
GoogleMap | Android용 Google API | Google Developers
This is the main class of the Google Maps SDK for Android and is the entry point for all methods related to the map. You cannot instantiate a GoogleMap object directly, rather, you must obtain one from the getMapAsync() method on a MapFragment or MapView t
developers.google.com
#moveCamera
GoogleMap | Android용 Google API | Google Developers
This is the main class of the Google Maps SDK for Android and is the entry point for all methods related to the map. You cannot instantiate a GoogleMap object directly, rather, you must obtain one from the getMapAsync() method on a MapFragment or MapView t
developers.google.com
'IT > Android' 카테고리의 다른 글
kotlin] 안드로이드 Custom Listview 만들기 (0) | 2021.03.14 |
---|---|
Kotlin] notifyDataSetChanged() 안될때 (0) | 2021.03.08 |
안드로이드 스튜디오] 파일명이 빨간색으로 나타날 때 (0) | 2020.12.18 |
Kotlin] 안드로이드 스튜디오 AsyncTask ProgressDialog (2) | 2020.08.17 |
Kotlin] 안드로이드 스튜디오 // 좌표로 거리구하기 (0) | 2020.08.13 |
댓글