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?
initCanvasMode
Copy Markdown
Open in ChatGPT
Open in Claude
A new instance for 2D light map. This mode is fatest to load than 3D mode.
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
Javascript
x
const fnoToken = "<YOUR-FNO-TOKEN>"; // provided by the 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.initCanvasMode(fnoToken); FnoMapManager.loadMap(idMap, 'MapContainer', function(){ console.log("2d map loaded"); })});Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
initEditorModeDiscard 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
