dceejay / RedMap

A web map app for Node-RED to put blobs on
Apache License 2.0
107 stars 60 forks source link

Update README.md - Optional properties #232

Closed meeki007 closed 1 year ago

meeki007 commented 1 year ago

Documentation states:

showruler - turns on and off a display of the ruler control. Values can be "true" or "false". - {"command":{"showruler":true}}

The command is wrong its missing key 'ruler' see RedMap/worldmap/worldmap.js line 2280-2281:

if (cmd.hasOwnProperty("ruler")) {
        if (cmd.ruler.hasOwnProperty("showruler")) {

Also, some Optional properties that users can use were not described in the documentation.

Added showmenu and showlayers so users can know about the functionality

dceejay commented 1 year ago

Excellent - thanks for the PR.