Skip to content

gi-nx


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

ParameterType
termstring

Returns

NameType
sourcestring
sourceLayerstring
urlstring