dceejay / RedMap

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

[Feature Request] Configure the layers shown when a map is loaded #257

Closed JohnnyPicnic closed 11 months ago

JohnnyPicnic commented 11 months ago

Is it possible to configure the layers shown when a map is loaded? Something like: msg.layer = { "name": "layer_name", "show_on_load": true }

dceejay commented 11 months ago

As per the README you should be able to combine loading a layer with a command to show it {"command":{"layer":"foo"}} or for an overlay {"command":{"showlayer":"foo"}}

Or is that not what you mean ?

JohnnyPicnic commented 11 months ago

Yup that's it. I thought I had looked through the readme... :disappointed: