• JMap.UI.openIFramePopup

    Opens a embedded page in a popup that is movable (and resizable in options).

    Only one iframe popup can be open at the same time.

    Parameters initialWidth and initialHeight are in pixels.

    Embedding a page that sets the X-Frame-Options or Content-Security-Policy: frame-ancestors headers in an incompatible way may cause the display of the page to fail.

    See here and here for details

    Parameters

    Returns void

    Throws

    Error if invalid parameters are passed

    Example

    // Open an embedded popup of k2geospatial website
    JMap.UI.openIFramePopup({
    src: "https://my.web.site.com/",
    initialPosition: { x: 400, y: 250 },
    initialWidth: 400,
    initialHeight: 250,
    title: "My embeded web page",
    resizable: true
    })