internal IndoorManager(IMapJsRuntime jsRuntime, ILogger logger)
        {
            _jsRuntime = jsRuntime;
            _logger    = logger;
            Id         = Guid.NewGuid().ToString();

            _eventHelper = new IndoorManagerEventHelper(DispatchEventAsync);
        }
 internal static Animation GetAnimation(string type, string id, IMapJsRuntime runtime)
 {
     return(type switch {
         "dropmarkers" => new DropMarkersAnimation(id, runtime),
         "flowingdashed" => new FlowingDashedLineAnimation(id, runtime),
         "movealongpath" => new MoveAlongPathAnimation(id, runtime),
         "snakeline" => new SnakeLineAnimation(id, runtime),
         "group" => new GroupAnimation(id, runtime),
         "drop" => new DropAnimation(id, runtime),
         "setcoordinates" => new SetCoordinatesAnimation(id, runtime),
         "morph" => new MorphAnimation(id, runtime),
         "movealongroute" => new MoveAlongRouteAnimation(id, runtime),
         _ => throw new NotSupportedException(type),
     });
Example #3
0
 internal Animation(string id, IMapJsRuntime jsRuntime)
 {
     _id       = id;
     JsRuntime = jsRuntime;
 }
 public MorphAnimation(string id, IMapJsRuntime jsRuntime) : base(id, jsRuntime)
 {
 }
 public FlowingDashedLineAnimation(string id, IMapJsRuntime jsRuntime) : base(id, jsRuntime)
 {
 }
Example #6
0
 public GroupAnimation(string id, IMapJsRuntime jsRuntime) : base(id, jsRuntime)
 {
 }
 internal abstract void AddInterop(IMapJsRuntime jsRuntime, ILogger logger);
 public FullScreenService(IMapJsRuntime jsRuntime, ILogger <FullScreenService> logger)
 {
     _jsRuntime = jsRuntime;
     _logger    = logger;
 }
Example #9
0
 internal SnakeLineAnimation(string id, IMapJsRuntime jsRuntime) : base(id, jsRuntime)
 {
 }
Example #10
0
 public IndoorService(IMapJsRuntime jsRuntime, ILogger <IndoorService> logger)
 {
     _jsRuntime = jsRuntime;
     _logger    = logger;
 }
 public AnimationService(IMapJsRuntime jsRuntime, ILogger <AnimationService> logger, IMapService mapService)
 {
     _jsRuntime  = jsRuntime;
     _logger     = logger;
     _mapService = mapService;
 }
Example #12
0
 public DropMarkersAnimation(string id, IMapJsRuntime jsRuntime) : base(id, jsRuntime)
 {
 }
 public MoveAlongPathAnimation(string id, IMapJsRuntime jsRuntime) : base(id, jsRuntime)
 {
 }
 public SetCoordinatesAnimation(string id, IMapJsRuntime jsRuntime) : base(id, jsRuntime)
 {
 }
 public GeolocationService(IMapJsRuntime mapJsRuntime, ILogger <GeolocationService> logger)
 {
     _mapJsRuntime = mapJsRuntime;
     _logger       = logger;
 }