gi-nx / getSourceLayerDetails
ts
function getSourceLayerDetails(term: string): {
source: string;
sourceLayer: string;
url: string;
};get layer info to pass to getVectorLayerContents from a layer in the base style eg roads
Parameters
| Parameter | Type |
|---|---|
term | string |
Returns
| Name | Type |
|---|---|
source | string |
sourceLayer | string |
url | string |