Map

The map library to display the specific element of the map.

LibraryDescription
mapAllows you to choose to display only the map element.

Usage Example


Consider the following examples:

  • Map

https://xandar-lsw-v3.instaleap.io/map?job=myJob&token=myToken
<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/lsw.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",                  
        showOnly: 'map'
    }
    window.instaleap.lsw.render(params)
</script>
</html>

You will see the following content: