msg.payload.command.clear = "name of your layer/overlay to remove";
msg.payload.command.clear = "name of your layer/overlay to remove";
### Using a local Map Server (WMS server)
### Using a local Map Server (WMS server)
IMHO the easiest map server to make work is the <ahref="http://www.mapserver.org/"target="_new">mapserver</a> package in Ubuntu / Debian. Usually you will start with
IMHO the easiest map server to make work is the <ahref="http://www.mapserver.org/"target="_new">mapserver</a> package in Ubuntu / Debian. Usually you will start with
@ -227,7 +224,7 @@ IMHO the easiest map server to make work is the <a href="http://www.mapserver.or
Configuring that, setting up your tiles, and creating a .map file is way beyond the scope of this README so I will leave that as an exercise for the reader. Once set up you should have a cgi process you can run called `mapserv`, and a `.map` file that describes the layers available from the server.
Configuring that, setting up your tiles, and creating a .map file is way beyond the scope of this README so I will leave that as an exercise for the reader. Once set up you should have a cgi process you can run called `mapserv`, and a `.map` file that describes the layers available from the server.
Create and edit these into a file called **mapserv**, located in this node's directory, typically
Create and edit these into an executeable file called **mapserv**, located in this node's directory, typically
`~/.node-red/node_modules/node-red-contrib-web-worldmap/mapserv`, for example:
`~/.node-red/node_modules/node-red-contrib-web-worldmap/mapserv`, for example: