Android Googlemap의 Marker에 깜빡이는 애니메이션 효과를 주고싶어 직접 구현했습니다. 먼저 전체적인 코드를 보시겠습니다. /*마커 깜빡임을 구현하는 함수*/ //직접구현 public boolean fadeMarker(final Marker marker) { //Make the marker fade final Handler handler = new Handler(); handler.post(new Runnable() { float f; int i = 2; int timer; @Override public void run() { if(i%2 == 0) { f = 1f; } else f = 0f; marker.setAlpha(f); i++; timer = timer + 300; if(time..
Andorid googlemap v2관련 작업을 하다보면 마커의 zIndex를 바꿔주고 싶을때가 있습니다. 중요도가 큰 마커를 앞쪽으로 꺼내는것이죠 마커에 zIndex를 설정하는 방법에 관해서 알아보겠습니다. 먼저 자신의 gradle파일에서 dependencies쪽을 봐주세요(eclipse 사용자의 경우에는 라이브러리 설정쪽을 보시면 됩니다.)dependencies { compile project(':android') compile files('libs/bugsense-3.6.1.jar') compile files('libs/libDaumMapAndroid.jar') compile files('libs/nmaps.jar') compile 'com.android.support:appcompat-v7:23...
- Total
- Today
- Yesterday
- Android
- development
- comma
- 안드로이드
- Google Map
- Android Studio
- SyntaxHighlighter
- 구글맵
- JavaScript
- dependencies
- 코드
- imageButton
- 앱
- 개발자
- googlemap
- Marker
- Google Analytics
- titlebat
- 깜빡임
- 코드 넣기
- 코드삽입
- zindex
- 마커
- 개발
- GoogleAnalytics
- imagesize
- jQuery
- play service
- 소스코드
- GOOGLE PLAY
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |