This commit is contained in:
Raul Ochoa 2015-03-04 12:13:46 +01:00
parent cfc702f98d
commit 286b23ebaf
4 changed files with 5 additions and 5 deletions

4
dist/torque.full.js vendored

File diff suppressed because one or more lines are too long

View File

@ -4501,7 +4501,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;

2
dist/torque.js vendored

File diff suppressed because one or more lines are too long

View File

@ -4501,7 +4501,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;