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

Function broadcast_LineString

test/openlayers/overlay/DataFlowSpec.js:140–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139 it('broadcast_LineString', done => {
140 var broadcast_LineString = flowService => {
141 var feature = {
142 geometry: {
143 coordinates: [
144 [116.381741960923, 39.8765100055449],
145 [116.414681699817, 39.8765100055449],
146 [116.414681699817, 39.8415115329708]
147 ],
148 type: 'LineString'
149 },
150 id: 2,
151 type: 'Feature',
152 properties: {
153 id: 2,
154 time: new Date()
155 }
156 };
157 flowService.broadcast(feature);
158 };
159 const source = new DataFlow({
160 ws: urlDataFlow
161 });

Callers 1

DataFlowSpec.jsFile · 0.70

Calls 1

broadcastMethod · 0.45

Tested by

no test coverage detected