MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / drawPoint

Function drawPoint

libs/mapv/mapv.js:4176–4181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4174
4175 var iconOptions = Object.assign({}, options.iconOptions, item.iconOptions);
4176 var drawPoint = function drawPoint() {
4177 context.beginPath();
4178 context.arc(x, y, options.size || 5, 0, Math.PI * 2);
4179 context.fillStyle = options.fillStyle || 'red';
4180 context.fill();
4181 };
4182 if (!iconOptions.url) {
4183 drawPoint();
4184 return;

Callers 1

mapv.jsFile · 0.85

Calls 1

arcMethod · 0.80

Tested by

no test coverage detected