{"id":15059001,"url":"https://github.com/olymo/leafletpolylinepoints","last_synced_at":"2026-02-12T00:02:26.656Z","repository":{"id":57169444,"uuid":"280921440","full_name":"Olymo/LeafletPolylinePoints","owner":"Olymo","description":"Leaflet plug-in to add circular points on polyline coordinates.","archived":false,"fork":false,"pushed_at":"2020-07-19T19:10:36.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-14T10:14:42.825Z","etag":null,"topics":["circle","coordinates","javascript","js","leaflet","openstreetmap","point","polyline","vue2-leaflet"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@whatsaaaaa/leafletpolylinepoints","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/Olymo.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-07-19T17:58:51.000Z","updated_at":"2020-07-19T19:10:38.000Z","dependencies_parsed_at":"2022-09-04T11:50:08.063Z","dependency_job_id":null,"html_url":"https://github.com/Olymo/LeafletPolylinePoints","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/Olymo%2FLeafletPolylinePoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olymo%2FLeafletPolylinePoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olymo%2FLeafletPolylinePoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olymo%2FLeafletPolylinePoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Olymo","download_url":"https://codeload.github.com/Olymo/LeafletPolylinePoints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243558477,"owners_count":20310574,"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":["circle","coordinates","javascript","js","leaflet","openstreetmap","point","polyline","vue2-leaflet"],"created_at":"2024-09-24T22:35:14.780Z","updated_at":"2026-02-12T00:02:26.628Z","avatar_url":"https://github.com/Olymo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @whatsaaaaa/leafletpolylinepoints\n\nLeaflet plug-in to add circular points on polyline coordinates.\n\n## Install\n\n```\nnpm i @whatsaaaaa/leafletpolylinepoints\n```\n\n## Usage\n\n```js\nimport { addCircularPointToPolyline } from \"@whatsaaaaa/leafletpolylinepoints\";\n\naddCircularPointToPolyline(\n  [\n    {\n      latitude: route.latitude,\n      longitude: route.longitude,\n    },\n  ],\n  map,\n  {\n    color: \"red\",\n    bindPopup: true,\n    popupContent: `Popup Content!`,\n  }\n);\n```\n\n## Parameters\n\n- coordinates: Array of objects (lat, lng)\n- map: Obhect\n- options: Object\n\n## Options\n\n- color - Default 'blue'. Change the color of circle\n- bindPopup - Default 'false'. On click binds popup.\n- popupContent - What to show in popup.\n\n## Recommended CSS\n\n```css\n.polyline-point \u003e div {\n  margin-left: -1px;\n  margin-top: -3px;\n  transform-origin: center center;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folymo%2Fleafletpolylinepoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folymo%2Fleafletpolylinepoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folymo%2Fleafletpolylinepoints/lists"}