Releases: missioncommand/mil-sym-js
mil-sym-js release v0.2.5
-LineColor and FillColor for icons now support an alpha channel in the hex string.
-Added handler when line of contact MBR is too small.
mil-sym-js release v0.2.4
-svg fix for neutral subsurface graphics
-svg fix for Direction of Movement modifier
-added svg documentation on the wiki page
mil-sym-js release v0.2.3
-fix for RenderSymbol with canvas format selected and bbox null.
-fixes for singlepoint SVG output
-added SVGInfo.getSVGDataURI(). You can assign like image.src = SVGInfo.getSVGDataURI(). Returns a string like: "data:image/svg+xml;base64,[SVG string after run through btoa()]".
mil-sym-js release v0.2.2
-Fixed an issue with empty polylines and thus no features for the symbol. If the polylines array is empty and the current poyline has exaclty one point it adds the same point to create a valid polyline. The Java and Android versions don't have this issue.
mil-sym-js.release.v0.2.2
mil-sym-js release v0.2.1
-Thinned out friendly ground, friendly ground equipment, neutral ground, hostile air, hostile subsurface affiliation frames they were the worst offenders for overly thick lines.
-Implemented transparency for single point icons for svg
-Implemented milstd icon pattern fill for multipoint areas for canvas output
mil-sym-js release v0.2.0
New Feature:
-SVG support for singlepoints.
--available in sv-bc.js, svm-bc.js.
--sv-bc.js will run in a web worker. A sample will be coming in the future.
--armyc2.c2sd.renderer.MilStdSVGRenderer has the same interface as armyc2.c2sd.renderer.MilStdIconRenderer
--MilStdSVGRenderer returns an armyc2.c2sd.renderer.utilities.SVGInfo object
--SVGInfo has getSVG()//the svg string, getAnchorPoint(), getSymbolBounds(), getSVGBounds().
Bug Fixes:
-improved look of fortified line and antitank wall
-azimuth and range labels added for range fans.
-new MilStdAttributes.HideOptionalLabels which can turn above mentioned labels on or off.
-fixed bug with geoJSON output
-fixed issue where units would render smaller than they should when keepUnitRatio is set to true.
mil-sym-js release v0.1.12
-Reduce arrowhead size for Direction of Attack, Ground Main Attack.
mil-sym-js release v0.1.11
-fix for PBS_RECTANGLE
-fix for getBasicSymbolIDStrict for parametered basic shapes
mil-sym-js release v0.1.10
-Added Parametered basic shapes (PBS_SQUARE-----, PBS_CIRCLE-----,PBS_ELLIPSE----,PBS_RECTANGLE--)
-Fixed symbolID for Grain Storage.
-Added RendererSettings.setUseCesium2DScaleModifiers(). Pass in true if you use a Cesium map.
mil-sym-js release v0.1.9
-Revised Wire Obstacle Double Fence to begin the line with two X's
-Added missing graphics: Fast Recreational Craft, Rigid-Hull Inflatable Boat, Speed Boat, and Personal Watercraft