node-red-contrib-barco-sources-bing
Version:
utility to get map information using bing
41 lines (39 loc) • 1.5 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('bing',{
category: 'input',
color: '#a6bbcf',
defaults: {
mapsKey: {value:"",required:true},
mapsArea: {value:"",required:true},
disable: {value:false},
basePath:{value:(window.location.protocol + '//' + window.location.host)}
},
inputs:0,
outputs:1,
icon: "white-globe.png",
label: function() {
return "Bing Integrator";
}
});
</script>
<script type="text/x-red" data-template-name="bing">
<div class="form-row">
<label for="node-input-mapsKey"><i class="icon-tag"></i> Maps Key</label>
<input type="text" id="node-input-mapsKey">
</div>
<div class="form-row">
<label for="node-input-mapsArea"><i class="icon-tag"></i> Maps Area</label>
<input type="text" id="node-input-mapsArea">
</div>
<div class="form-row">
<label for="node-input-disable"><i class="icon-stop"></i> Disable the node output</label>
<input type="checkbox" id="node-input-disable" style="display:inline-block;width:auto;">
</div>
</script>
<script type="text/x-red" data-help-name="bing">
<p>A node for configuring input sources to get infomation from mapquest</p>
<p>mapsKey is required for connecting to mapquest</p>
<p>mapsArea is boundary of the area of which the information to received.</p>
<br><br>
<br><br>
</script>