{"id":13681999,"url":"https://github.com/tombatossals/angular-leaflet-directive","last_synced_at":"2025-10-07T18:14:21.303Z","repository":{"id":4705691,"uuid":"5853229","full_name":"tombatossals/angular-leaflet-directive","owner":"tombatossals","description":"AngularJS directive to embed an interact with maps managed by Leaflet library","archived":false,"fork":false,"pushed_at":"2023-12-29T14:11:33.000Z","size":46784,"stargazers_count":1495,"open_issues_count":134,"forks_count":632,"subscribers_count":93,"default_branch":"master","last_synced_at":"2025-10-01T11:15:25.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tombatossals.github.io/angular-leaflet-directive","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tombatossals.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2012-09-18T08:13:55.000Z","updated_at":"2025-09-08T11:00:07.000Z","dependencies_parsed_at":"2024-01-13T11:13:50.243Z","dependency_job_id":"e744b025-9110-4da3-a56d-aec5c689efde","html_url":"https://github.com/tombatossals/angular-leaflet-directive","commit_stats":{"total_commits":1440,"total_committers":138,"mean_commits":"10.434782608695652","dds":0.5048611111111111,"last_synced_commit":"1cfbdf4a7f68bfddddc7472b5799c7b950337b2a"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/tombatossals/angular-leaflet-directive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombatossals%2Fangular-leaflet-directive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombatossals%2Fangular-leaflet-directive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombatossals%2Fangular-leaflet-directive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombatossals%2Fangular-leaflet-directive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tombatossals","download_url":"https://codeload.github.com/tombatossals/angular-leaflet-directive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombatossals%2Fangular-leaflet-directive/sbom","scorecard":{"id":892223,"data":{"date":"2025-08-11","repo":{"name":"github.com/tombatossals/angular-leaflet-directive","commit":"1cfbdf4a7f68bfddddc7472b5799c7b950337b2a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T12:17:38.024Z","repository_id":4705691,"created_at":"2025-08-24T12:17:38.025Z","updated_at":"2025-08-24T12:17:38.025Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278821150,"owners_count":26051847,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-02T13:01:38.939Z","updated_at":"2025-10-07T18:14:21.267Z","avatar_url":"https://github.com/tombatossals.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Directive"],"sub_categories":[],"readme":"# Angular Leaflet Directive\n\n[AngularJS](http://angularjs.org/) directive for the [Leaflet](http://www.leafletjs.com/) Javascript\nLibrary. This software aims to easily embed maps managed by Leaflet on your project.\n\n### [tombatossals/angular-leaflet-directive](http://github.com/tombatossals/angular-leaflet-directive)\nThis is a personal project, which has been coded by me helped by many people for some years. I'm evolving it frequently, actually I'm making the code transition to Leaflet 1.0 and Angular 2. If you need enterprise for older versions, sorry, I can't give you more support that my spare time allows me. If you want to help with the actual code it would be really appreciated, but first of all, please, read the * [CONTRIBUTING documentation](https://github.com/tombatossals/angular-leaflet-directive/blob/master/CONTRIBUTING.md)\n\n\n[![Build Status](https://travis-ci.org/tombatossals/angular-leaflet-directive.png?branch=master)](https://travis-ci.org/tombatossals/angular-leaflet-directive) [![Dependencies](https://david-dm.org/tombatossals/angular-leaflet-directive.svg)](https://david-dm.org/tombatossals/angular-leaflet-directive)\u0026nbsp;\n[![Dependencies](https://david-dm.org/tombatossals/angular-leaflet-directive/dev-status.svg)](https://david-dm.org/tombatossals/angular-leaflet-directive) [![Coverage\nStatus](https://coveralls.io/repos/tombatossals/angular-leaflet-directive/badge.png?branch=master)](http://tombatossals.github.io/angular-leaflet-directive/coverage/PhantomJS%201.9.7%20%28Linux%29/lcov-report/dist/angular-leaflet-directive.js.html)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n### [angular-ui](http://github.com/angular-ui/ui-leaflet)\nIf you need better response time with your doubts and needs with the code of version 0.9.0, take a look at the [angular-ui](http://github.com/angular-ui/ui-leaflet) fork of this project, it's lead by really awesome developers which have helped me evolving the project for some time.\n\n[![Build Status](https://travis-ci.org/angular-ui/ui-leaflet.png?branch=master)](https://travis-ci.org/angular-ui/ui-leaflet) [![Dependencies](https://david-dm.org/angular-ui/ui-leaflet.svg)](https://david-dm.org/angular-ui/ui-leaflet)\u0026nbsp;\n[![Dependencies](https://david-dm.org/angular-ui/ui-leaflet/dev-status.svg)](https://david-dm.org/angular-ui/ui-leaflet) [![Coverage\nStatus](https://coveralls.io/repos/angular-ui/ui-leaflet/badge.png?branch=master)](http://realtymaps.github.io/ui-leaflet/coverage/PhantomJS%201.9.7%20%28Linux%29/lcov-report/dist/ui-leaflet.js.html)\n\n## Examples\n\n[Browse all the examples](http://tombatossals.github.io/angular-leaflet-directive/examples/0000-viewer.html) added by the community to learn about the directive and its possibilities.\n\n## Documentation\n\nStill working on it. In the meantime, take a look at this URL for some minimal descriptions: https://tombatossals.github.com/angular-leaflet-directive\n\n## Getting started/How to use it\n\nInclude the `leaflet-directive` dependency on your Angular module:\n```\nvar app = angular.module('demoapp', ['leaflet-directive']);\n```\n\nAfter that, you are ready to rock. Just define some objects with the basic configuration you want reflected in your map and the rendered map will obey you. Also, you can modify that configuration dinamically if you need to. Let's see an example.\n\n### center\n\nIf you want to set the map view to a precise position, you can define\nthe \"center\" property of the scope (lat, lng, zoom). It will also be updated\ninteracting on the scope and on the leaflet map in two-way binding. Example:\n\n```javascript\nangular.extend($scope, {\n    center: {\n        lat: 51.505,\n        lng: -0.09,\n        zoom: 8\n    }\n});\n```\n\nFinally, you must include the markup directive on your HTML page. One important thing is that you must define the map width\u0026height, as attributes of the directive or with CSS code, as you wish.\n```html\n\u003cleaflet lf-center=\"center\" height=\"480px\" width=\"640px\"\u003e\u003c/leaflet\u003e\n```\n\nIf you want to have more than one map on the page and access their respective map objects, add an *id* attribute to your leaflet directive in HTML:\n\n```html\n\u003cleaflet id=\"mymap\" lf-center=\"center\" height=\"480px\" width=\"640px\"\u003e\u003c/leaflet\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombatossals%2Fangular-leaflet-directive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftombatossals%2Fangular-leaflet-directive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombatossals%2Fangular-leaflet-directive/lists"}