documentation for redirect (#173)
* documentation for redirect * fix location of command * relitive > relative
This commit is contained in:
parent
6234299fd4
commit
7484b612eb
@ -400,6 +400,7 @@ Optional properties include
|
|||||||
- **button** - if supplied with a `name` and `icon` property - adds a button to provide user input - sends
|
- **button** - if supplied with a `name` and `icon` property - adds a button to provide user input - sends
|
||||||
a msg `{"action":"button", "name":"the_button_name"}` to the worldmap in node. If supplied with a `name` property only, it will remove the button. Optional `position` property can be 'bottomright', 'bottomleft', 'topleft' or 'topright' (default).
|
a msg `{"action":"button", "name":"the_button_name"}` to the worldmap in node. If supplied with a `name` property only, it will remove the button. Optional `position` property can be 'bottomright', 'bottomleft', 'topleft' or 'topright' (default).
|
||||||
- **contextmenu** - html string to define the right click menu when not on a marker. Defaults to the simple add marker input. Empty string `""` disables this right click.
|
- **contextmenu** - html string to define the right click menu when not on a marker. Defaults to the simple add marker input. Empty string `""` disables this right click.
|
||||||
|
- **redirect** - Redirects user to a url of your choice. `{"command":{ "redirect": "https://nodered.org/" }}` can be a relative or absolute URL.
|
||||||
|
|
||||||
#### To switch layer, move map and zoom
|
#### To switch layer, move map and zoom
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user