Sent when the mouse cursor hover a container.
Result
| Name | Type | Description |
|---|---|---|
| container | Container | The container clicked |
x
const fnoToken = "<YOUR-FNO-TOKEN>"; // provide from backofficeconst fnoMapId = "<MAP-ID>" // id of the map to loadlet FnoMapManager;// wait page is loadedwindow.addEventListener("load", function(){ // sdk is definied in the global variable "FnoMapManager" in window object FnoMapManager = window.FnoMapManager; FnoMapManager.initViewerMode(fnoToken); FnoMapManager.loadMap(idMap, 'MapContainer', function(){ // register event once map is loaded FnoMapManager.registerEvent('mouseOverContainer' ,(data) => { console.log("container hovered", data); }); })});