Marker1 GoogleMap Marker 설정 - 현재위치 Icon 설정 GoogleMap 의 Marker의 Icon 설정하는 방법 (지도 안의 파란점이 Marker) 1. location - Location 클래스2. map - GoogleMap 클래스 setMapMarker() 함수로 Marker 를 설정한다. public void setMapMarker() { LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude()); map.addMarker(new MarkerOptions() .position(latLng) .flat(true) .anchor(0.5f, 0.5f) .icon((getIcon())));} public BitmapDescriptor getIcon() { Drawable circl.. 2019. 2. 20. 이전 1 다음