@honua/sdk-js
    Preparing search index...

    Class MapLayerQueryBuilder

    Fluent builder for constructing MapLayerQueryRequest objects.

    Create via MapLayerQueryBuilder.from(serviceId, layerId) (standalone) or MapLayerQueryBuilder.for(client, serviceId, layerId) (bound to a client for .run()).

    // Standalone — build request object
    const req = MapLayerQueryBuilder.from("myService", 0)
    .where("POP > 1000")
    .outFields("NAME", "POP")
    .limit(100)
    .build();

    const result = await client.queryMapLayer(req);

    // Bound — build and execute in one chain
    const result = await MapLayerQueryBuilder.for(client, "myService", 0)
    .where("POP > 1000")
    .outFields("NAME", "POP")
    .limit(100)
    .run();
    Index

    Methods