{"id":19623837,"url":"https://github.com/appleple/yahoo-map-cluster","last_synced_at":"2025-04-28T05:30:44.363Z","repository":{"id":39560747,"uuid":"166204217","full_name":"appleple/yahoo-map-cluster","owner":"appleple","description":"Yahoo! Map Cluster","archived":false,"fork":false,"pushed_at":"2023-01-04T21:38:48.000Z","size":2619,"stargazers_count":19,"open_issues_count":27,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-14T23:59:38.755Z","etag":null,"topics":["cluster","clustering","map","npm","ts","typescript","yahoo"],"latest_commit_sha":null,"homepage":"https://appleple.github.io/yahoo-map-cluster/","language":"TypeScript","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/appleple.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}},"created_at":"2019-01-17T10:07:07.000Z","updated_at":"2022-02-15T06:28:31.000Z","dependencies_parsed_at":"2023-02-02T20:45:47.960Z","dependency_job_id":null,"html_url":"https://github.com/appleple/yahoo-map-cluster","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/appleple%2Fyahoo-map-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fyahoo-map-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fyahoo-map-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fyahoo-map-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleple","download_url":"https://codeload.github.com/appleple/yahoo-map-cluster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224096527,"owners_count":17255106,"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":["cluster","clustering","map","npm","ts","typescript","yahoo"],"created_at":"2024-11-11T11:35:44.197Z","updated_at":"2024-11-11T11:35:45.597Z","avatar_url":"https://github.com/appleple.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yahoo! Map Cluster\n\n\u003cimg src=\"./screenshot.png\"\u003e\n\n## Usage\n\n```js\nvar ymap = new Y.Map(\"map\");\nymap.drawMap(new Y.LatLng(35.66572, 139.73100), 15, Y.LayerSetId.NORMAL);\nvar marker = new Y.Marker(new Y.LatLng(35.66572, 139.73100));\nvar marker2 = new Y.Marker(new Y.LatLng(35.66572, 139.73000));\nvar marker3 = new Y.Marker(new Y.LatLng(35.665, 139.734));\nvar marker4 = new Y.Marker(new Y.LatLng(35.6635, 139.734));\nvar marker5 = new Y.Marker(new Y.LatLng(35.665, 139.731));\nvar marker6 = new Y.Marker(new Y.LatLng(35.6642, 139.733));\nvar marker7 = new Y.Marker(new Y.LatLng(35.6635, 139.7328));\nvar marker8 = new Y.Marker(new Y.LatLng(35.665, 139.7343));\nvar marker9 = new Y.Marker(new Y.LatLng(35.6638, 139.7333));\nvar marker10 = new Y.Marker(new Y.LatLng(35.6628, 139.7333));\nnew YmapCluster(ymap, [marker, marker2, marker3, marker4, marker5, marker6, marker7, marker8, marker9, marker10]);\n```\n\n## Install\n\n### via npm\n\n```sh\n$ npm install yahoo-map-cluster --save\n```\n\n### via yarn\n\n```sh\n$ yarn add yahoo-map-cluster\n```\n\n### via cdn \n\n```html\n\u003cscript src=\"https://unpkg.com/yahoo-map-cluster@latest/bundle/ymap-cluster.js\"\u003e\u003c/script\u003e\n```\n\n## Use Library\n\n### Webpack/Browserify\n\n```js\nimport YmapCluster from 'yahoo-map-cluster';\nnew YmapCluster(map, clusters, options);\n```\n### Standalone\n\n```html\n\u003cscript src=\"https://unpkg.com/yahoo-map-cluster@latest/bundle/ymap-cluster.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nnew YmapCluster(map, clusters, options);\n\u003c/script\u003e\n```\n\n\n## Reference\n\nhttps://github.com/googlemaps/js-marker-clusterer","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fyahoo-map-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleple%2Fyahoo-map-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fyahoo-map-cluster/lists"}