Fetch a Honua feature-service layer through the SDK and return a standard MapLibre geojson source specification that the renderer renders natively.
geojson
const source = await loadHonuaFeatureServiceGeoJson(client, layer.source.url);map.addSource(layer.sourceId, source);map.addLayer(layer.layer); Copy
const source = await loadHonuaFeatureServiceGeoJson(client, layer.source.url);map.addSource(layer.sourceId, source);map.addLayer(layer.layer);
Fetch a Honua feature-service layer through the SDK and return a standard MapLibre
geojsonsource specification that the renderer renders natively.