Create Honua SDK surface instances for each source in a style.
Non-Honua sources (e.g. vector, raster, geojson) are mapped to null — these should be handled directly by MapLibre's built-in source types.
vector
raster
geojson
null
const sources = createSources(client, style);const parcels = sources.get("parcels"); // HonuaFeatureLayerif (parcels instanceof HonuaFeatureLayer) { const features = await parcels.queryFeatures({ where: "status = 'active'" });} Copy
const sources = createSources(client, style);const parcels = sources.get("parcels"); // HonuaFeatureLayerif (parcels instanceof HonuaFeatureLayer) { const features = await parcels.queryFeatures({ where: "status = 'active'" });}
Create Honua SDK surface instances for each source in a style.
Non-Honua sources (e.g.
vector,raster,geojson) are mapped tonull— these should be handled directly by MapLibre's built-in source types.