• JMap.MouseOver.openPopup

    Displays a given html content in a popup at a given location on the map

    Parameters

    Returns void

    Example

    // open a popup at location lon=45.5 & lat=-73.5, that display the message "This is an example"
    JMap.MouseOver.openPopup({
    html: "<div style='margin-top: 1rem; background-color:#ff8888'>This is an example</div>",
    location: { y: 45.5, x:-73.5 }
    })