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?
Manage template
Copy Markdown
Open in ChatGPT
Open in Claude
Templates are used to change map designs by applying them to containers.
getAllTemplates
Fetch all templates availables for current map
Parameters
No parameter
Result
| Name | type | description |
|---|---|---|
| templates | Template[] | All available templates |
Example
Javascript
Swift
Java
xxxxxxxxxxFnoMapManager.sendEvent('getAllTemplates', null, (data) => { console.log("templates:", data.templates);});setLocalTemplate
Apply a template to a container
Parameters
| Name | type | description |
|---|---|---|
| container | number | container id to apply template |
| template | number | template id to used |
Result
No result
Example
Javascript
Swift
Java
xxxxxxxxxxFnoMapManager.sendEvent('setLocalTemplate', {container: 123, template: 1});clearLocalTemplate
Remove a template from a container
Parameters
| Name | type | description |
|---|---|---|
| container | number | container id |
| template | number | (optionnal) if set, remove only this template, if null, remove all templates |
Result
No result
Example
Javascript
Swift
Java
xxxxxxxxxxFnoMapManager.sendEvent('clearLocalTemplate', {container: 123, template: 321});clearAllLocalTemplates
Remove all templates or one template for all containers
Parameters
| Name | type | description |
|---|---|---|
| template | number | (optionnal) if set, remove only this template for all containers, if null, remove all templates for all containers |
Result
No result
Example
Javascript
Swift
Java
xxxxxxxxxxFnoMapManager.sendEvent('clearAllLocalTemplates', {template: 321});Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
Manage itinerarynull
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
