Closed mad61 closed 10 years ago
Our mistake. A bug very specific to boundaries without a bounding box specified. Modifier2.js has been updated. Your example worked for me after making the fix. Let me know if you have any further issues.
I searched the files and found no more instances of Clazz.castNullAs so I think we’re Ok. I could add the function to Clazz and return null but probably don’t need it.
From: Michael Spinelli [mailto:notifications@github.com] Sent: Tuesday, March 25, 2014 3:48 PM To: missioncommand/mil-sym-js Subject: Re: [mil-sym-js] Cannot render Boundary mit T and T1 modifier (#1)
Closed #1 https://github.com/missioncommand/mil-sym-js/issues/1 .
— Reply to this email directly or view it on GitHub https://github.com/missioncommand/mil-sym-js/issues/1 . https://github.com/notifications/beacon/5973557__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTM5NjA4OSwiZGF0YSI6eyJpZCI6Mjg1MDI4NDd9fQ==--8ba056fc1e3225a3cec4602c440c7f9a52b10e94.gif
I try to render a Multipoint feature as JSON
Code example:
This generates the following error:
No Modifier are created.
Acording to my debugging the Clazz object (Class.js) has no method "castNullAs" as used in line 2063 from Modifier2.js !?
What's my mistake?