Skip to content

Releases: missioncommand/mil-sym-js

mil-sym-js release v0.3.7

21 Oct 19:43
Compare
Choose a tag to compare

-updates for multipoint rendering via web worker batch calls.
-updated documentation for web workers
-cleaned up web worker sample multiPointTesterWebWorker.html and MPWorker.js

mil-sym-js release v0.3.6

20 Oct 18:09
Compare
Choose a tag to compare

-fix: diagonal hatch patterns were reversed for canvas and svg output.

mil-sym-js release v0.3.5

20 Oct 15:23
Compare
Choose a tag to compare

-Fix for oversized single point canvases when modifiers with empty string values are passed in.
-Fixed points problem in the hatch line shape for clients that set usepatternfill.
-Implemented hatch patterns for canvas multipoint output. Symbols with hatch fills will now use a fill pattern rather than generated lines for increased performance
-some updates to svm and savm releases to work in a web worker. Previously just m and sv releases worked in web worker.

mil-sym-js release v0.3.4

18 Oct 15:56
Compare
Choose a tag to compare

-fix for Wiers SVG fill Pattern
-fixed a bug with canvas and svg output for multipoints. They were feeding off of the modifierFont values rather than the MPModifierFont values that are set for multipoints.
Depending on your use, labels might be two points larger now for multipoints in canvas and svg format.
-added multipoint SVG webworker example in samples folder of release
-for SVG format, symbols with hatch fills will now use a fill pattern rather than generated lines for increased performance. This will come to canvas output in an upcoming release.

mil-sym-js release v0.3.3

11 Oct 19:21
Compare
Choose a tag to compare

-build xml: all build targets with multipoint rendering support geoSVG
-MPWorker.js update to support GeoSVG and batch rendering for all formats. GeoCanvas does not work in a web worker. Inputs and outputs at top of the file.
-Fix for special character u25CF which look exactly like u2022 but wasn't accounted for previously in SVG outputs which doesn't like those special characters.

mil-sym-js release v0.3.2

05 Oct 15:59
Compare
Choose a tag to compare

-Some fixes for mutilpoint rendering at low scales for canvas/svg multipoint output.
-Fixed some modifier mistakes in SymbolConstants file.

mil-sym-js release v0.3.1

23 Sep 20:46
Compare
Choose a tag to compare

-fix for lines with segment color

mil-sym-js release v0.3.0

22 Sep 21:26
Compare
Choose a tag to compare

-new SVG output for multipoints. Use format 6 when you call renderSymbol or renderSymbol2D. Used for draping on the map. Much less memory intensive compared to canvas output. Output looks like:

{svg:"data:image/svg+xml;base64," + btoa(geoSVG), geoTL:geoCoordTL, geoBR:geoCoordBR, bounds:unionBounds};

Very similar to canvas output. multiPointHandler2.html has been updated to demonstrate.

Documentation to follow.

-fixes for special characters in SVG text elements.

mil-sym-js release v0.2.6

16 Sep 17:11
Compare
Choose a tag to compare

-fix for svg modifiers &,<,> as text in a modifier could break the svg when converted to base64 and used as a dataURI. Now handling those characters before the base64 conversion.

mil-sym-js release v0.2.5

13 Sep 20:07
Compare
Choose a tag to compare

-LineColor and FillColor for icons now support an alpha channel in the hex string.
-Added handler when line of contact MBR is too small.