capacitor-shp
v0.1.10
Published
shp
Downloads
3
Readme
capacitor-shp
shp
Install
npm install capacitor-shp
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
editDbf(...)
editDbf(data: EditRowOptions) => Promise<{ success: boolean; msg: string; }>
| Param | Type |
| ---------- | --------------------------------------------------------- |
| data
| EditRowOptions |
Returns: Promise<{ success: boolean; msg: string; }>
getDbf(...)
getDbf(data: QueryRowOption) => Promise<{ value: Property[]; }>
| Param | Type |
| ---------- | --------------------------------------------------------- |
| data
| QueryRowOption |
Returns: Promise<{ value: Property[]; }>
addFeature(...)
addFeature(data: { path: string; feature: string; }) => Promise<{ success: boolean; msg: string; }>
| Param | Type |
| ---------- | ----------------------------------------------- |
| data
| { path: string; feature: string; } |
Returns: Promise<{ success: boolean; msg: string; }>
Interfaces
EditRowOptions
| Prop | Type |
| -------------- | ------------------------------------------------ |
| keyField
| string |
| keyValue
| string | number | boolean |
| path
| string |
| columns
| { field: string; value: string; }[] |
Property
QueryRowOption
| Prop | Type |
| ----------- | ------------------- |
| path
| string |
| field
| string |
| value
| string |