Class: teleportAnimation

ugmp.animation.teleportAnimation

new ugmp.animation.teleportAnimation(opt_options)

teleportAnimation 객체.

피처를 순간 이동하여 나타내는 것처럼 보이는 효과를 줄 수 있다.

Name Type Description
opt_options Object
Name Type Description
repeat Integer

반복 횟수. Default is 10000.

useFade Boolean

투명도 효과 사용 여부. Default is true.

duration Integer

지연 시간. Default is 2000.

Example
var teleportAni = new ugmp.animation.teleportAnimation( {
	duration : 2000,
	repeat : 100,
	useFade : true
} );

Extends

Methods

애니메이션

Name Type Description
e Object

animateFeature 옵션.

애니메이션 Canvas에 그리기.

Name Type Description
e Object

animateFeature 옵션.

geom ol.geom.Geometry

표시할 Geometry.

현재 설정된 속성 정보를 가져온다.

Returns:
현재 설정된 속성 정보.

지연 시간을 설정한다.

Name Type Description
duration Number.<Integer>

지연 시간.

효과 타입을 설정한다.

Name Type Description
easing String

효과 타입 (ol.easing).

반복 횟수를 설정한다.

Name Type Description
repeat Number.<Integer>

반복 횟수.

Stroke 스타일을 설정한다.

Name Type Description
strokeStyle ol.style.Stroke

Stroke 스타일.

애니메이션 스타일을 설정한다.

Name Type Description
style Array.<ol.style>

애니메이션 스타일 리스트.

투명도 효과 사용 여부 설정.

Name Type Description
fade Boolean

투명도 효과 사용 여부.