{"id":18890412,"url":"https://github.com/workingdog/scalams","last_synced_at":"2025-07-07T03:08:31.025Z","repository":{"id":57724083,"uuid":"63924556","full_name":"workingDog/ScalaMS","owner":"workingDog","description":"Scala.js façade to milsymbol.js","archived":false,"fork":false,"pushed_at":"2017-08-23T09:07:30.000Z","size":44,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-31T14:29:27.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workingDog.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-22T04:53:45.000Z","updated_at":"2024-01-11T21:26:42.000Z","dependencies_parsed_at":"2022-09-02T06:54:26.943Z","dependency_job_id":null,"html_url":"https://github.com/workingDog/ScalaMS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/workingDog/ScalaMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FScalaMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FScalaMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FScalaMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FScalaMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workingDog","download_url":"https://codeload.github.com/workingDog/ScalaMS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workingDog%2FScalaMS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264005172,"owners_count":23542829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T07:55:27.931Z","updated_at":"2025-07-07T03:08:31.007Z","avatar_url":"https://github.com/workingDog.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scala.js façade to milsymbol.js \n\nThis library **ScalaMS** is a Scala interface to the [SPATIAL ILLUSIONS](http://spatialillusions.com/milsymbol/) Military Unit Symbols in JavaScript,\n [milsymbol.js](https://github.com/spatialillusions/milsymbol).\n\n[milsymbol.js](https://github.com/spatialillusions/milsymbol) is a library in pure JavaScript that creates SVG symbols according to MIL-STD-2525C,\nMIL-STD-2525D and NATO STANAG APP6(b). \n\n## References\n \n1) [milsymbol.js on GitHub](https://github.com/spatialillusions/milsymbol)\n\n## Dependencies\n\nSee the build.sbt file.\n\nUsing Scala.js-0.6.19.\n\n## Usage\n\nTo use the last release (for milsymbol.js 1.3.0) add the following dependency to your build.sbt:\n\n    libraryDependencies += \"com.github.workingDog\" %%% \"scalams\" % \"1.3.0\"\n\nTo create a new symbol:\n\n    val sym = new Symbol(\"sfgpewrh--mt\", new SymbolOptions {\n      override val quantity: js.UndefOr[String] = \"200\"\n      override val staffComments: js.UndefOr[String] = \"for reinforcements\".toUpperCase\n      override val direction: js.UndefOr[Double] = 750 * 360 / 6400\n      override val `type`: js.UndefOr[String] = \"machine gun\"\n      override val dtg: js.UndefOr[String] = \"30140000ZSEP97\"\n      override val location: js.UndefOr[String] = \"0900000.0E570306.0N\"\n    })\n\nSee also [CesiumMil](https://github.com/workingDog/CesiumMil) for a basic example of using \n[ScalaMS](https://github.com/workingDog/ScalaMS) and [CesiumScala](https://github.com/workingDog/CesiumScala)\n\n## Compiling and installation \n\nTo compile and generate a javascript file from the source code:\n\n    sbt fullOptJS \n\nThe javascript file (scalams-opt.js) will be in the \"./target/scala-2.11\" directory.\n\n\nTo publish **ScalaMS** to your local (Ivy) repository, simply type:\n\n    sbt publishLocal\n    \nThen put this in your build.sbt file\n\n    libraryDependencies += \"com.github.workingDog\" %%% \"scalams\" % \"1.3.1-SNAPSHOT\n\n## Documentations\n\nRefer to the original [overview](http://spatialillusions.com/milsymbol/index.html) documentation and \nthe [milsymbol API](http://spatialillusions.com/milsymbol/docs/index.html) documentation.\n\nTo generate the Scala doc:\n    \n    sbt doc\n\nThe Scala API doc will be in the \"./target/scala-2.11/api\" directory.\n\n## Status\n\nstable\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkingdog%2Fscalams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkingdog%2Fscalams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkingdog%2Fscalams/lists"}