예제 #1
0
 public Marker(string id, Location point, string title = "", string icon = "", MarkerAnimation animation = MarkerAnimation.None) : base(id)
 {
     Title       = title;
     Icon        = icon;
     MarkerPoint = point;
     Animation   = animation;
 }
예제 #2
0
 public void Animate(MarkerAnimation animation)
 {
     _animator.SetBool("Tap", animation == MarkerAnimation.Tap);
     _animator.SetBool("SwipeDown", animation == MarkerAnimation.SwipeDown);
     _animator.SetBool("SwipeLeft", animation == MarkerAnimation.SwipeLeft);
     _animator.SetBool("SwipeRight", animation == MarkerAnimation.SwipeRight);
 }
예제 #3
0
 public async Task SetAnimation(MarkerAnimation markerAnimation)
 {
     Options.Animation = markerAnimation;
     await jSRuntime.InvokeAsync <bool>(
         "blazorGoogleMap.markersModule.setAnimation", Id, markerAnimation);
 }