Find & Order
v1.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
initViewerMode
Copy Markdown
Open in ChatGPT
Open in Claude
Instance a new instance for viewer mode (used for your end-user with no structural modification)
Parameters
Name | Type | Description |
|---|---|---|
token | string | The token used for loading the map. Can be found in our bakcoffice webapp |
culture | string | (optional) The language used (Default is **'**fr') |
apiUrl | string | (optional) The URL environment (default is PROD 'https://api.findnorder.com/') |
Result
Return true or false if SDK can't init
Example
const fnoToken = "<YOUR-FNO-TOKEN>"; // provided by the 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(){
console.log("3d map loaded");
})
});
Last updated on
Next to read:
initCanvasModenull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
