{"id":17288762,"url":"https://github.com/stepankuzmin/leaflet-pkk","last_synced_at":"2025-04-14T11:13:04.787Z","repository":{"id":35068963,"uuid":"202913586","full_name":"stepankuzmin/leaflet-pkk","owner":"stepankuzmin","description":"Public cadastral map (pkk5.rosreestr.ru) plugin for Leaflet","archived":false,"fork":false,"pushed_at":"2023-07-18T20:09:23.000Z","size":4221,"stargazers_count":1,"open_issues_count":12,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T11:12:59.569Z","etag":null,"topics":["leaflet","leaflet-plugin","pkk","pkk5-rosreestr"],"latest_commit_sha":null,"homepage":"https://stepankuzmin.github.io/leaflet-pkk/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stepankuzmin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-08-17T17:39:41.000Z","updated_at":"2023-03-09T03:34:04.000Z","dependencies_parsed_at":"2024-09-22T16:40:44.711Z","dependency_job_id":null,"html_url":"https://github.com/stepankuzmin/leaflet-pkk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fleaflet-pkk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fleaflet-pkk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fleaflet-pkk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fleaflet-pkk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stepankuzmin","download_url":"https://codeload.github.com/stepankuzmin/leaflet-pkk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868766,"owners_count":21174758,"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":["leaflet","leaflet-plugin","pkk","pkk5-rosreestr"],"created_at":"2024-10-15T10:29:51.154Z","updated_at":"2025-04-14T11:13:04.765Z","avatar_url":"https://github.com/stepankuzmin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leaflet-pkk\n\nPublic cadastral map ([pkk5.rosreestr.ru](pkk5.rosreestr.ru)) plugin for Leaflet.\n\n[**Example**](https://stepankuzmin.github.io/leaflet-pkk/)\n\n[![screenshot](https://raw.githubusercontent.com/stepankuzmin/leaflet-pkk/master/screenshot.png)](https://stepankuzmin.github.io/leaflet-pkk/)\n\n## Install\n\nInstall using npm:\n\n```shell\nnpm install --save leaflet-pkk\n```\n\n...or using unpkg CDN\n\n```html\n\u003cscript src=\"https://unpkg.com/leaflet-pkk/index.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\n```js\nconst map = L.map('map').setView([55.756389, 37.63019], 14);\n\nconst baseLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png');\nmap.addLayer(baseLayer);\n\nconst pkkLayer = L.tileLayer.pkk({\n  layers: '8,9,10,11,12',\n  format: 'image/png32',\n  transparent: true\n});\n\npkkLayer.on('featureclick', ({ latlng, feature }) =\u003e {\n  const popup = L.popup()\n    .setLatLng(latlng)\n    .setContent(feature.attrs.id)\n    .openOn(map);\n});\n\nmap.addLayer(pkkLayer);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepankuzmin%2Fleaflet-pkk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstepankuzmin%2Fleaflet-pkk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepankuzmin%2Fleaflet-pkk/lists"}