• JMap.Map.Selection.selectOnOneLayerFromCircle

    Select for specific layer its features that intersect the circle.

    Parameters

    Returns GeoJSON.Feature[]

    The features array

    Throws

    Error if layer is not found or if circle format is not good

    Example

    // Process a selection on the map for layer id=4,
    // selecting features intersecting the circle
    JMap.Map.Selection.selectOnOneLayerFromCircle(
    4, //layer id
    {
    center: { x: 34.23, y: 55.5 },
    radius: 100
    }
    )