Google Map

    [안드로이드 스튜디오] Google Map Api MyLocationButton, ZoomButton, UI 버튼 활성화, 비활성화, 커스텀 이벤트

    공부를 위해 포스팅 된 글이므로, 부정확한 정보를 포함하고 있음을 감안하고 읽어주시기 바랍니다. 오늘은 구글 맵에서 기본적으로 제공되는 UI 버튼들을 커스텀 해서 사용하고, 활성화, 비활성화 하는 작업을 했다. https://developers.google.com/maps/documentation/android-sdk/controls Controls and Gestures | Maps SDK for Android | Google Developers Using the Maps SDK for Android, you can customize the way in which users can interact with your map, by determining which of the built in UI comp..

    [안드로이드 스튜디오] Glide에서 가져온 이미지가 안 보일때

    공부를 위해 포스팅 된 글이므로, 부정확한 정보를 포함하고 있음을 감안하고 읽어주시기 바랍니다. GoogleMapApi에서 CustomInfoWindow를 구현 하는데 Glide에서 가져온 이미지가 마커를 두번 클릭해야 이미지가 보여지는 버그를 발견했다. 이것저것 찾아본 결과, Glide에서 이미지를 가져오는 속도가 느려서 발생한 것일수도 있다고 생각해서 Glide에서 이미지를 가져오는 부분을 수정하니 잘 작동했다. Glide.with(context). load(SAMPLEURL + mapDataItem.getPLACE_IMAGE()) .override(350,350) .diskCacheStrategy(DiskCacheStrategy.ALL) .thumbnail(0.1f) .centerCrop() .li..