add link to SIDC code generator

This commit is contained in:
Dave Conway-Jones 2018-06-01 14:04:06 +01:00
parent 7288935265
commit 8000aa155e
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4

View File

@ -22,7 +22,8 @@ Either use the Manage Palette option in the Node-RED Editor menu, or run the fol
npm i --save node-red-contrib-web-worldmap npm i --save node-red-contrib-web-worldmap
## Usage
## Usage
Plots "things" on a map. The map will be served from `{httpRoot}/worldmap` Plots "things" on a map. The map will be served from `{httpRoot}/worldmap`
@ -87,6 +88,8 @@ To do this you need to supply a `msg.SIDC` instead of an icon, for example:
options: { fillOpacity:0.8 } options: { fillOpacity:0.8 }
} }
SIDC codes can be generated using the online tool - https://spatialillusions.com/unitgenerator/
There are lots of extra options you can specify as `msg.options` - see the <a href="https://github.com/spatialillusions/milsymbol/tree/master/docs" target="_new">milsymbol docs here</a>. There are lots of extra options you can specify as `msg.options` - see the <a href="https://github.com/spatialillusions/milsymbol/tree/master/docs" target="_new">milsymbol docs here</a>.
### Buildings ### Buildings