Class used to convert Shapefiles into CLR objects.
Inheritance
object
ComponentBase
- IComponent
- IHandleEvent
- IHandleAfterRender
- JsonSerializable
Constructors
Section titled "Constructors"constructor
public IgbShapeDataSource() Returns IgbShapeDataSource
Properties
Section titled "Properties"IgBlazor
Section titled "IgBlazor"Inherited from: BaseRendererElement
[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; } IsComponentRooted
Section titled "IsComponentRooted"Inherited from: BaseRendererElement
public bool IsComponentRooted { get; } ParentTypeName
Section titled "ParentTypeName"Inherited from: BaseRendererElement
protected virtual string ParentTypeName { get; } UseDirectRender
Section titled "UseDirectRender"Inherited from: BaseRendererElement
protected virtual bool UseDirectRender { get; } ChildContent
Section titled "ChildContent"Inherited from: BaseRendererElement
[Parameter]
public RenderFragment ChildContent { get; set; } SupportsVisualChildren
Section titled "SupportsVisualChildren"Inherited from: BaseRendererElement
protected virtual bool SupportsVisualChildren { get; } Inherited from: BaseRendererElement
[Parameter]
public string Name { get; set; } Parent
Section titled "Parent"Inherited from: BaseRendererElement
public object Parent { get; } MethodTarget
Section titled "MethodTarget"Inherited from: BaseRendererElement
protected virtual string MethodTarget { get; } CurrParent
Section titled "CurrParent"Inherited from: BaseRendererElement
protected object CurrParent { get; } ComputedWorldRect
Section titled "ComputedWorldRect"Gets the world bounding rectangle, based on the filtered shapes
[Parameter]
public Rect ComputedWorldRect { get; set; } DatabaseSource
Section titled "DatabaseSource"The Uri of the .dbf portion of the Shapefile.
[Parameter]
public string DatabaseSource { get; set; } DeferImportCompleted
Section titled "DeferImportCompleted"The Uri of the .shp portion of the Shapefile.
[Parameter]
public bool DeferImportCompleted { get; set; } ShapefileSource
Section titled "ShapefileSource"The Uri of the .shp portion of the Shapefile.
[Parameter]
public string ShapefileSource { get; set; } public override string Type { get; } WorldRect
Section titled "WorldRect"Gets the world bounding rectangle, as read from the header of the Shapefile.
[Parameter]
public Rect WorldRect { get; set; } Accessors
Section titled "Accessors"_name
Section titled "_name"Inherited from: BaseRendererElement
protected string _name eventCallbacksCache
Section titled "eventCallbacksCache"Inherited from: BaseRendererElement
protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache _cachedSerializedContent
Section titled "_cachedSerializedContent"Inherited from: BaseRendererElement
protected string _cachedSerializedContent Methods
Section titled "Methods"EnsureModulesLoaded()
Section titled "EnsureModulesLoaded()"Inherited from: BaseRendererElement
protected virtual void EnsureModulesLoaded() Returns any
BuildRenderTree(RenderTreeBuilder)
Section titled "BuildRenderTree(RenderTreeBuilder)"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
IsPropDirty(string)
Section titled "IsPropDirty(string)"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
Serialize()
Section titled "Serialize()"Inherited from: BaseRendererElement
public string Serialize() Returns any
EnsureValid()
Section titled "EnsureValid()"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
FindByName(string)
Section titled "FindByName(string)"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
GetRecord(int)
Section titled "GetRecord(int)"public IgbShapefileRecord GetRecord(int index) Parameters
- index:
int
Returns any
GetRecordAsync(int)
Section titled "GetRecordAsync(int)"public Task<IgbShapefileRecord> GetRecordAsync(int index) Parameters
- index:
int
Returns any
GetRecordBounds(int)
Section titled "GetRecordBounds(int)"public Rect GetRecordBounds(int index) Parameters
- index:
int
Returns any
GetRecordBoundsAsync(int)
Section titled "GetRecordBoundsAsync(int)"public Task<Rect> GetRecordBoundsAsync(int index) Parameters
- index:
int
Returns any
GetRecordFieldNames(int)
Section titled "GetRecordFieldNames(int)"public string[] GetRecordFieldNames(int index) Parameters
- index:
int
Returns any
GetRecordFieldNamesAsync(int)
Section titled "GetRecordFieldNamesAsync(int)"public Task<string[]> GetRecordFieldNamesAsync(int index) Parameters
- index:
int
Returns any
GetRecordValue(int, string)
Section titled "GetRecordValue(int, string)"public object GetRecordValue(int index, string fieldName) Parameters
- index:
int - fieldName:
string
Returns any
GetRecordValueAsync(int, string)
Section titled "GetRecordValueAsync(int, string)"public Task<object> GetRecordValueAsync(int index, string fieldName) Parameters
- index:
int - fieldName:
string
Returns any
GetRecordValues(string)
Section titled "GetRecordValues(string)"public object[] GetRecordValues(string fieldName) Parameters
- fieldName:
string
Returns any
GetRecordValuesAsync(string)
Section titled "GetRecordValuesAsync(string)"public Task<object[]> GetRecordValuesAsync(string fieldName) Parameters
- fieldName:
string
Returns any
GetRecordsCount()
Section titled "GetRecordsCount()"public int GetRecordsCount() Returns any
GetRecordsCountAsync()
Section titled "GetRecordsCountAsync()"public Task<int> GetRecordsCountAsync() Returns any
GetWorldBounds(bool)
Section titled "GetWorldBounds(bool)"public Rect GetWorldBounds(bool useComputed) Parameters
- useComputed:
bool
Returns any
GetWorldBoundsAsync(bool)
Section titled "GetWorldBoundsAsync(bool)"public Task<Rect> GetWorldBoundsAsync(bool useComputed) Parameters
- useComputed:
bool
Returns any
RemoveRecord(int)
Section titled "RemoveRecord(int)"public void RemoveRecord(int index) Parameters
- index:
int
Returns any
RemoveRecordAsync(int)
Section titled "RemoveRecordAsync(int)"public Task RemoveRecordAsync(int index) Parameters
- index:
int
Returns any
SendImportCompleted()
Section titled "SendImportCompleted()"public void SendImportCompleted() Returns any
SendImportCompletedAsync()
Section titled "SendImportCompletedAsync()"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
SetRecordValues(string, object[])
Section titled "SetRecordValues(string, object[])"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
SetWorldBounds(bool, Rect)
Section titled "SetWorldBounds(bool, Rect)"public void SetWorldBounds(bool setComputed, Rect bounds) Parameters
- setComputed:
bool - bounds:
Rect
Returns any
SetWorldBoundsAsync(bool, Rect)
Section titled "SetWorldBoundsAsync(bool, Rect)"public Task SetWorldBoundsAsync(bool setComputed, Rect bounds) Parameters
- setComputed:
bool - bounds:
Rect
Returns any
ShiftAllShapes(double, double)
Section titled "ShiftAllShapes(double, double)"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
ShiftShapes(int, double, double)
Section titled "ShiftShapes(int, double, double)"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
Events
Section titled "Events"Filter
Section titled "Filter"[Parameter]
public EventCallback<IgbShapeFilterRecordEventArgs> Filter { get; set; } ImportCompleted
Section titled "ImportCompleted"[Parameter]
public EventCallback<IgbAsyncCompletedEventArgs> ImportCompleted { get; set; } ImportPending
Section titled "ImportPending"[Parameter]
public EventCallback<IgbAsyncCompletedEventArgs> ImportPending { get; set; } FilterScript
Section titled "FilterScript"[Parameter]
public string FilterScript { get; set; } ImportCompletedScript
Section titled "ImportCompletedScript"[Parameter]
public string ImportCompletedScript { get; set; } ImportPendingScript
Section titled "ImportPendingScript"[Parameter]
public string ImportPendingScript { get; set; }