Closed eric79 closed 6 years ago
Glad you like it.
What modifiers are you passing into the renderer? I'm having trouble duplicating the issue
Oh, sorry. Here are the details:
symbolID: GHGPGPPC----**X
modifiers: {SIZE: "40", ICON: false, SYMSTD: 1}
fixed in release v0.3.31
Woohoo! Thanks!
When drawing the following action points with a hostile affiliation, the image that is returned is larger than it intends to be:
For example, here is what is returned from
toDataUrl
for Contact Point:img.getImageBounds().width
reports that it's 27 pixels wide, butimg.getImage().width
reports that it's 150 pixels wide (which is true).As an aside:
MilStdSVGRenderer
doesn't seem to have the problem.And by the way ... thanks for making this library available. It's pretty awesome.