spatialillusions / milsymbol

Military Symbols in JavaScript
www.spatialillusions.com/milsymbol
MIT License
544 stars 133 forks source link

What is `size` option? #218

Closed stalniy closed 5 years ago

stalniy commented 5 years ago

It's hard to interpret size option. Is it font size, width, height or something else?

spatialillusions commented 5 years ago

From the documentation: The L value for your symbol, where the L value is the width of the icon octagon.

IIRC size:100 will make the octagon 100px. And the octagon referred to is the octagon where all parts of the icon is placed within and that is completely within the symbol frame.

stalniy commented 5 years ago

Thanks! That’s helpful