Class used to convert Shapefiles into CLR objects.

Inheritance

Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable

constructor

public IgbShapeDataSource()

Returns IgbShapeDataSource

Inherited from: BaseRendererElement

[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; }

Inherited from: BaseRendererElement

public bool IsComponentRooted { get; }

Inherited from: BaseRendererElement

protected virtual string ParentTypeName { get; }

Inherited from: BaseRendererElement

protected virtual bool UseDirectRender { get; }

Inherited from: BaseRendererElement

[Parameter]
public RenderFragment ChildContent { get; set; }

Inherited from: BaseRendererElement

protected virtual bool SupportsVisualChildren { get; }

Inherited from: BaseRendererElement

[Parameter]
public string Name { get; set; }

Inherited from: BaseRendererElement

public object Parent { get; }

Inherited from: BaseRendererElement

protected virtual string MethodTarget { get; }

Inherited from: BaseRendererElement

protected object CurrParent { get; }

Gets the world bounding rectangle, based on the filtered shapes

[Parameter]
public Rect ComputedWorldRect { get; set; }

The Uri of the .dbf portion of the Shapefile.

[Parameter]
public string DatabaseSource { get; set; }

The Uri of the .shp portion of the Shapefile.

[Parameter]
public bool DeferImportCompleted { get; set; }

The Uri of the .shp portion of the Shapefile.

[Parameter]
public string ShapefileSource { get; set; }
public override string Type { get; }

Gets the world bounding rectangle, as read from the header of the Shapefile.

[Parameter]
public Rect WorldRect { get; set; }

Inherited from: BaseRendererElement

protected string _name

Inherited from: BaseRendererElement

protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache

Inherited from: BaseRendererElement

protected string _cachedSerializedContent

Inherited from: BaseRendererElement

protected virtual void EnsureModulesLoaded()

Returns any

Inherited from: BaseRendererElement

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

  • builder: RenderTreeBuilder

Returns any

OnElementNameChanged(BaseRendererElement, string, string)

Section titled "OnElementNameChanged(BaseRendererElement, string, string)"

Inherited from: BaseRendererElement

protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName)

Parameters

  • element: BaseRendererElement
  • oldName: string
  • newName: string

Returns any

InvokeMethod(string, object[], string[], ElementReference[])

Section titled "InvokeMethod(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodSync(string, object[], string[], ElementReference[])

Section titled "InvokeMethodSync(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelper(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelper(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethodHelper(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodHelperSync(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

Inherited from: BaseRendererElement

protected bool IsPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

Serialize(SerializationContext, string)

Section titled "Serialize(SerializationContext, string)"

Inherited from: BaseRendererElement

public void Serialize(SerializationContext context, string propertyName = null)

Parameters

  • context: SerializationContext
  • propertyName: string

Returns any

Inherited from: BaseRendererElement

public string Serialize()

Returns any

Inherited from: BaseRendererElement

protected void EnsureValid()

Returns any

FromEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "FromEventJson(BaseRendererControl, Dictionary<string, object>)"

Inherited from: BaseRendererElement

protected virtual void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

ToEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "ToEventJson(BaseRendererControl, Dictionary<string, object>)"

Inherited from: BaseRendererElement

protected virtual void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

SetResourceStringAsync(string, string, string)

Section titled "SetResourceStringAsync(string, string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string id, string value)

Parameters

  • grouping: string
  • id: string
  • value: string

Returns any

SetResourceStringAsync(string, string)

Section titled "SetResourceStringAsync(string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string json)

Parameters

  • grouping: string
  • json: string

Returns any

public override object FindByName(string name)

Parameters

  • name: string

Returns any

GetLargestShapeBoundsForRecord(int)

Section titled "GetLargestShapeBoundsForRecord(int)"
public Rect GetLargestShapeBoundsForRecord(int index)

Parameters

  • index: int

Returns any

GetLargestShapeBoundsForRecordAsync(int)

Section titled "GetLargestShapeBoundsForRecordAsync(int)"
public Task<Rect> GetLargestShapeBoundsForRecordAsync(int index)

Parameters

  • index: int

Returns any

GetMaxLongitude(int, bool, double, double)

Section titled "GetMaxLongitude(int, bool, double, double)"
public double GetMaxLongitude(int recordIndex, bool useLargestShape, double fromLongitude, double toLongitude)

Parameters

  • recordIndex: int
  • useLargestShape: bool
  • fromLongitude: double
  • toLongitude: double

Returns any

GetMaxLongitudeAsync(int, bool, double, double)

Section titled "GetMaxLongitudeAsync(int, bool, double, double)"
public Task<double> GetMaxLongitudeAsync(int recordIndex, bool useLargestShape, double fromLongitude, double toLongitude)

Parameters

  • recordIndex: int
  • useLargestShape: bool
  • fromLongitude: double
  • toLongitude: double

Returns any

public IgbShapefileRecord GetRecord(int index)

Parameters

  • index: int

Returns any

public Task<IgbShapefileRecord> GetRecordAsync(int index)

Parameters

  • index: int

Returns any

public Rect GetRecordBounds(int index)

Parameters

  • index: int

Returns any

public Task<Rect> GetRecordBoundsAsync(int index)

Parameters

  • index: int

Returns any

public string[] GetRecordFieldNames(int index)

Parameters

  • index: int

Returns any

public Task<string[]> GetRecordFieldNamesAsync(int index)

Parameters

  • index: int

Returns any

public object GetRecordValue(int index, string fieldName)

Parameters

  • index: int
  • fieldName: string

Returns any

public Task<object> GetRecordValueAsync(int index, string fieldName)

Parameters

  • index: int
  • fieldName: string

Returns any

public object[] GetRecordValues(string fieldName)

Parameters

  • fieldName: string

Returns any

public Task<object[]> GetRecordValuesAsync(string fieldName)

Parameters

  • fieldName: string

Returns any

public int GetRecordsCount()

Returns any

public Task<int> GetRecordsCountAsync()

Returns any

public Rect GetWorldBounds(bool useComputed)

Parameters

  • useComputed: bool

Returns any

public Task<Rect> GetWorldBoundsAsync(bool useComputed)

Parameters

  • useComputed: bool

Returns any

public void RemoveRecord(int index)

Parameters

  • index: int

Returns any

public Task RemoveRecordAsync(int index)

Parameters

  • index: int

Returns any

public void SendImportCompleted()

Returns any

public Task SendImportCompletedAsync()

Returns any

SetRecordValue(int, string, object)

Section titled "SetRecordValue(int, string, object)"
public void SetRecordValue(int index, string fieldName, object value)

Parameters

  • index: int
  • fieldName: string
  • value: object

Returns any

SetRecordValueAsync(int, string, object)

Section titled "SetRecordValueAsync(int, string, object)"
public Task SetRecordValueAsync(int index, string fieldName, object value)

Parameters

  • index: int
  • fieldName: string
  • value: object

Returns any

public void SetRecordValues(string fieldName, object[] values)

Parameters

  • fieldName: string
  • values: object[]

Returns any

SetRecordValuesAsync(string, object[])

Section titled "SetRecordValuesAsync(string, object[])"
public Task SetRecordValuesAsync(string fieldName, object[] values)

Parameters

  • fieldName: string
  • values: object[]

Returns any

public void SetWorldBounds(bool setComputed, Rect bounds)

Parameters

  • setComputed: bool
  • bounds: Rect

Returns any

public Task SetWorldBoundsAsync(bool setComputed, Rect bounds)

Parameters

  • setComputed: bool
  • bounds: Rect

Returns any

public void ShiftAllShapes(double offsetX, double offsetY)

Parameters

  • offsetX: double
  • offsetY: double

Returns any

ShiftAllShapesAsync(double, double)

Section titled "ShiftAllShapesAsync(double, double)"
public Task ShiftAllShapesAsync(double offsetX, double offsetY)

Parameters

  • offsetX: double
  • offsetY: double

Returns any

public void ShiftShapes(int recordIndex, double offsetX, double offsetY)

Parameters

  • recordIndex: int
  • offsetX: double
  • offsetY: double

Returns any

ShiftShapesAsync(int, double, double)

Section titled "ShiftShapesAsync(int, double, double)"
public Task ShiftShapesAsync(int recordIndex, double offsetX, double offsetY)

Parameters

  • recordIndex: int
  • offsetX: double
  • offsetY: double

Returns any

[Parameter]
public EventCallback<IgbShapeFilterRecordEventArgs> Filter { get; set; }
[Parameter]
public EventCallback<IgbAsyncCompletedEventArgs> ImportCompleted { get; set; }
[Parameter]
public EventCallback<IgbAsyncCompletedEventArgs> ImportPending { get; set; }
[Parameter]
public string FilterScript { get; set; }
[Parameter]
public string ImportCompletedScript { get; set; }
[Parameter]
public string ImportPendingScript { get; set; }