-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Has anyone successfully used mil-sym-js in an Angular project? #39
Comments
Yes. I have used it. Add following into index.html
Then import variable: Then declare constants like: And then use them. |
Great! Thanks! |
@ComBatVision Just curious, what are you using for maps? I am using Cesium. |
@Zaandar I am using NASA WorldWind |
I found this very helpful for a start. I did end up taking a slightly different approach, though. angular.json
app.component.ts
calling_script.ts
It would also appear that the fonts, which are referenced in renderer.css, are automatically imported with this approach. |
I am trying to use mil-sym-js in an Angular project but am having no luck importing and using the functions. I followed the instructions on the documentation and also tried the Angular way to do it with no luck. Any pointers?
The text was updated successfully, but these errors were encountered: