internal MapDataEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) { DataType = eventArgs.DataType; IsSourceLoaded = eventArgs.IsSourceLoaded; Source = eventArgs.Source; SourceDataType = eventArgs.SourceDataType; Tile = eventArgs.Tile; }
internal MapMouseEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) { Features = eventArgs.Features; LayerId = eventArgs.LayerId; Pixel = eventArgs.Pixel; Position = eventArgs.Position; Shapes = eventArgs.Shapes; }
internal MapTouchEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) { LayerId = eventArgs.LayerId; Pixel = eventArgs.Pixel; Pixels = eventArgs.Pixels; Position = eventArgs.Position; Positions = eventArgs.Positions; Shapes = eventArgs.Shapes; }
internal MapSourceEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Source = eventArgs.Source;
internal MapLayerEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Id = eventArgs.Id;
internal MapMessageEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Message = eventArgs.Message;
internal MapErrorEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Error = eventArgs.Error;
internal MapStyleDataEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs) => Style = MapStyle.FromString(eventArgs.Style);