renderSprite should take marker width as a point radius
This commit is contained in:
parent
142ae1f528
commit
cfc702f98d
@ -137,7 +137,7 @@ var Filters = require('./torque_filters');
|
||||
if (qualifiedUrl && this._iconsToLoad <= 0) {
|
||||
var img = this._icons[qualifiedUrl];
|
||||
|
||||
var dWidth = st['marker-width'] || img.width;
|
||||
var dWidth = st['marker-width'] * 2 || img.width;
|
||||
var dHeight = (st['marker-height'] || dWidth) * (img.width / img.height);
|
||||
|
||||
canvas.width = ctx.width = dWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user