• JMap.Application.Selection.fitMapToDisplayLayerSelection

    Pans and zooms the map to display the current selection.

    Parameters

    Returns void

    Example

    // fit the map to display selected features
    JMap.Application.Selection.fitMapToDisplayLayerSelection()