MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / broadcast_Point

Function broadcast_Point

test/openlayers/overlay/DataFlowSpec.js:93–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92 it('broadcast_Point', done => {
93 var broadcast_Point = flowService => {
94 var feature = {
95 geometry: {
96 coordinates: [116.69801217000008, 39.86826211908377],
97 type: 'Point'
98 },
99 id: 1,
100 type: 'Feature',
101 properties: {
102 id: 1,
103 time: new Date()
104 }
105 };
106 flowService.broadcast(feature);
107 };
108 const source = new DataFlow({
109 ws: urlDataFlow
110 });

Callers 1

DataFlowSpec.jsFile · 0.70

Calls 1

broadcastMethod · 0.45

Tested by

no test coverage detected