{"id":13725082,"url":"https://github.com/dcdourado/react-leaflet-geodesic","last_synced_at":"2025-12-30T15:17:31.532Z","repository":{"id":61264604,"uuid":"236804302","full_name":"dcdourado/react-leaflet-geodesic","owner":"dcdourado","description":"Geodesic curves as React component for Leaflet","archived":false,"fork":false,"pushed_at":"2020-02-03T17:07:47.000Z","size":159,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T04:24:10.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcdourado.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}},"created_at":"2020-01-28T18:10:29.000Z","updated_at":"2021-03-02T22:31:37.000Z","dependencies_parsed_at":"2022-10-13T20:29:03.688Z","dependency_job_id":null,"html_url":"https://github.com/dcdourado/react-leaflet-geodesic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdourado%2Freact-leaflet-geodesic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdourado%2Freact-leaflet-geodesic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdourado%2Freact-leaflet-geodesic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdourado%2Freact-leaflet-geodesic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcdourado","download_url":"https://codeload.github.com/dcdourado/react-leaflet-geodesic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224645194,"owners_count":17346092,"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-08-03T01:02:12.250Z","updated_at":"2025-12-30T15:17:31.496Z","avatar_url":"https://github.com/dcdourado.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# react-leaflet-geodesic [![npm version](https://img.shields.io/npm/v/react-leaflet-geodesic.svg)](https://www.npmjs.com/package/react-leaflet-geodesic)\n\nDraws geodesic curves on [React-Leaflet](https://github.com/PaulLeCam/react-leaflet), which are the real minimal \"line\" between two coordinates of the Earth.\n\nThis is a part-wrap of [Leaflet.Geodesic](https://github.com/henrythasler/Leaflet.Geodesic), made by henrythasler. There are some code still needed to get all functionalities from his lib, feel free to add it.\n\n![Example](images/example.gif)\n\n# Usage\n\n```\nimport { GeodesicLine } from 'react-leaflet-geodesic'\n...\nconst waypoints = [\n  [-33, -70],\n  [-33, 151],\n]\n\nconst options = {\n  weight: 20,\n  opacity: 0.5,\n  color: 'red',\n}\n...\n\u003cGeodesicLine positions={waypoints} options={options} /\u003e\n...\n```\n\nFor more details on how to use this plugin check the example.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdourado%2Freact-leaflet-geodesic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcdourado%2Freact-leaflet-geodesic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdourado%2Freact-leaflet-geodesic/lists"}