Find & Order
v1.0
Page
Code Steps
Category
Label
Link
Separator
Title
Message
Page icon
No icon. This page keeps the plain index row.
orSVG or PNG, square, at least 32×32.
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 floor
Copy Markdown
Open in ChatGPT
Open in Claude
Event to manage floors on the map.
setFloor
Set current floor. All other floor are hide
Parameters
Name | type | description |
|---|---|---|
floorId | number | floor id to show |
Result
No result
Example
FnoMapManager.sendEvent('setFloor', {floorId: 2});
map.setFloor(floorId: 2)
--
var parameters = [String:Any]();
parameters["floorId"] = 5
map.sendEvent(eventName: "setFloor", data: parameters)
map.setFloor(2);
--
JSONObject data = new JSONObject();
data.put("floorId", 5);
map.sendEvent("setFloor", data, null);
getFloors
Get all available floors
Parameters
No parameter
Result
Name | type | description |
|---|---|---|
floors | Floor[] | Array of all floors |
Example
FnoMapManager.sendEvent('getFloors', null, (data) => {
console.log("floors", data.floors);
});
map.getFloors()
--
map.sendEvent(eventName: "getFloors", data: nil)
// FNOMapDelegate method
@objc optional func getFloors(floors: Any?)
@objc optional func fnoMap(map: FNOMap, floors: [Floor])
map.getFloors(new MapFNO.CallbackFloors() {
@Override
public void onValue(List<Floor> floors) {
}
});
--
map.sendEvent("getFloors", null, new MapFNO.CallbackJSON() {
@Override
public void onValue(JSONObject jsonObject) {
Log.d("LOG", "getFloors result : " + jsonObject.toString());
}
});
resetFloors
Show all floors
Parameters
No parameter
Result
No result
Example
FnoMapManager.sendEvent('resetFloors');
map.resetFloors()
--
map.sendEvent(eventName: "resetFloors", data: nil)
map.resetFloors();
--
map.sendEvent("resetFloors", null, null);
Last updated on
Next to read:
Manage temporary waypointnull
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
