{"id":20774513,"url":"https://github.com/mariley20/leaflet-logo","last_synced_at":"2026-06-07T14:31:11.607Z","repository":{"id":67998860,"uuid":"233920654","full_name":"Mariley20/leaflet-logo","owner":"Mariley20","description":"Logo Plugin for Leaflet","archived":false,"fork":false,"pushed_at":"2020-01-15T19:44:39.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-20T00:19:42.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/Mariley20.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-14T19:37:34.000Z","updated_at":"2021-12-10T10:46:14.000Z","dependencies_parsed_at":"2023-05-21T00:15:48.842Z","dependency_job_id":null,"html_url":"https://github.com/Mariley20/leaflet-logo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Mariley20/leaflet-logo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mariley20%2Fleaflet-logo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mariley20%2Fleaflet-logo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mariley20%2Fleaflet-logo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mariley20%2Fleaflet-logo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mariley20","download_url":"https://codeload.github.com/Mariley20/leaflet-logo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mariley20%2Fleaflet-logo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34025803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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-11-17T12:29:48.322Z","updated_at":"2026-06-07T14:31:11.587Z","avatar_url":"https://github.com/Mariley20.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leaflet-logo\nA useful control to logo with many options for page.\n\n## Basic Usage\n\n### Set up:\n\n1. Get CSS and JavaScript files\n2. Include CSS and JavaScript files\n3. Initialize plugin\n\n#### Add the JavaScript and CSS files\nThis example shows how to include the logo control files directly from github. In production, prefer using npm.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://github.com/barisariburnu/leaflet-logo/blob/master/dist/leaflet-logo.min.css\" /\u003e\n\n\u003cscript src=\"https://github.com/barisariburnu/leaflet-logo/blob/master/dist/leaflet-logo.min.js\" charset=\"utf-8\"\u003e\u003c/script\u003e\n```\n\n#### Add the following snippet to your map initialization:\n\nThis snippet adds the control to the map. You can pass also pass a configuration.\n\n```js\nL.control.logo({\n    link: 'Redirect Url',\n    image: 'Image Url'\n}).addTo(map);\n```\n\n### Possible options\n\nThe logo controls inherits options from [Leaflet Controls](http://leafletjs.com/reference.html#control-options).\n\nTo customize the control, pass an object with your custom options to the logo control.\n\n```js\nL.control.logo(OPTIONS).addTo(map);\n```\n\nPossible options are listed in the following table. More details are [in the code](https://github.com/barisariburnu/leaflet-logo/blob/master/src/leaflet-logo.js#L7).\n\n| Option     | Type      | Default            |\n|------------|-----------|--------------------|\n| `position` | `string`  | `topleft`          |\n| `height`   | `string`  | `50px`             |\n| `width`    | `string`  | `50px`             |\n| `target`   | `string`  | `50px`             |\n| `link`     | `string`  | `None (required)`  |\n| `image`    | `string`  | `None (required)`  |\n\n\nFor example, to customize the position, link and image, you could write\n\n```js\nvar lc = L.control.logo({\n    position: 'topleft',\n    link: '#',\n    image: 'https://avatars3.githubusercontent.com/u/7146753?v=3\u0026s=100'\n}).addTo(map);\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariley20%2Fleaflet-logo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariley20%2Fleaflet-logo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariley20%2Fleaflet-logo/lists"}