mouseClickOutOfContainer
Sent when the user has clicked out of a container.
Result
No parameter is send from callback.
x
const fnoToken = "<YOUR-FNO-TOKEN>"; // provide from backoffice
const fnoMapId = "<MAP-ID>" // id of the map to load
let FnoMapManager;
// wait page is loaded
window.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('mouseClickOutOfContainer' ,() => {
// no data in parameter
console.log("click out of container event");
});
})
});