• JMap.Map.displayExtent

    Displays the given extent

    The extent will disappear after a few seconds

    Parameters

    Returns void

    Example

    // Move to the extent of my boundary box and display it for a few second
    const myExtent = {sw: {x: -77,y: -37},ne: {x: 178,y: 58}}
    JMap.Map.displayExtent(myExtent, {moveToExtent: true})