コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 internal MapSourceEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Source = eventArgs.Source;
コード例 #5
0
 internal MapLayerEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Id = eventArgs.Id;
コード例 #6
0
 internal MapMessageEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Message = eventArgs.Message;
コード例 #7
0
 internal MapErrorEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs.Type) => Error = eventArgs.Error;
コード例 #8
0
 internal MapStyleDataEventArgs(Map map, MapJsEventArgs eventArgs) : base(map, eventArgs) => Style = MapStyle.FromString(eventArgs.Style);