{"id":32418399,"url":"https://github.com/anzhi0708/svelte-5-leaflet-example","last_synced_at":"2026-04-15T18:32:15.453Z","repository":{"id":216492248,"uuid":"741468624","full_name":"anzhi0708/svelte-5-leaflet-example","owner":"anzhi0708","description":"An Example of Drawing a Map with Svelte + Leaflet","archived":false,"fork":false,"pushed_at":"2024-01-10T13:24:46.000Z","size":975,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T16:56:03.982Z","etag":null,"topics":["css","example","example-code","example-project","geocoding","geolocation","hello-world","leaflet","leafletjs","map","npm","svelte","svelte-template","sveltekit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/anzhi0708.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-10T13:10:05.000Z","updated_at":"2024-08-22T04:11:16.000Z","dependencies_parsed_at":"2024-01-10T15:16:10.723Z","dependency_job_id":"26b90cd9-8375-43ef-9370-cb917ceda90f","html_url":"https://github.com/anzhi0708/svelte-5-leaflet-example","commit_stats":null,"previous_names":["anzhi0708/svelte-5-leaflet-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anzhi0708/svelte-5-leaflet-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anzhi0708%2Fsvelte-5-leaflet-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anzhi0708%2Fsvelte-5-leaflet-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anzhi0708%2Fsvelte-5-leaflet-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anzhi0708%2Fsvelte-5-leaflet-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anzhi0708","download_url":"https://codeload.github.com/anzhi0708/svelte-5-leaflet-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anzhi0708%2Fsvelte-5-leaflet-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31854744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["css","example","example-code","example-project","geocoding","geolocation","hello-world","leaflet","leafletjs","map","npm","svelte","svelte-template","sveltekit"],"created_at":"2025-10-25T16:55:58.894Z","updated_at":"2026-04-15T18:32:15.426Z","avatar_url":"https://github.com/anzhi0708.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte 5 - Leaflet.js Example\n\n![Screenshot](./screenshot.png)\n\nAn Example of Drawing a Map with Svelte + Leaflet\n\n## Key Points\n\n- You need to place the `map`'s initialization in the `onMount` hook to ensure that `Leaflet` is rendered on the client side, not the server side.\n\n- Also, you need to import the `leaflet/dist/leaflet.css` file and specify the element's `height` in the `\u003cstyle\u003e` block in order for the map to display correctly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanzhi0708%2Fsvelte-5-leaflet-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanzhi0708%2Fsvelte-5-leaflet-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanzhi0708%2Fsvelte-5-leaflet-example/lists"}