{"id":19017017,"url":"https://github.com/alchaplinsky/maps.js","last_synced_at":"2026-05-28T01:31:13.177Z","repository":{"id":20111415,"uuid":"23381155","full_name":"alchaplinsky/maps.js","owner":"alchaplinsky","description":"Easy and declarative way to use Google Maps API","archived":false,"fork":false,"pushed_at":"2014-09-01T07:03:04.000Z","size":363,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-13T08:18:00.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://alchapone.github.io/maps.js","language":"CoffeeScript","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/alchaplinsky.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":"2014-08-27T07:39:44.000Z","updated_at":"2015-04-22T15:03:16.000Z","dependencies_parsed_at":"2022-07-21T19:48:46.106Z","dependency_job_id":null,"html_url":"https://github.com/alchaplinsky/maps.js","commit_stats":null,"previous_names":["alchapone/maps.js"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alchaplinsky/maps.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fmaps.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fmaps.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fmaps.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fmaps.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alchaplinsky","download_url":"https://codeload.github.com/alchaplinsky/maps.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Fmaps.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33590884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T19:45:31.179Z","updated_at":"2026-05-28T01:31:13.161Z","avatar_url":"https://github.com/alchaplinsky.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maps.js - Google Maps JavaScript API V3\nMaps.js A Javascript library for working with Google Maps JavaScript API V3.\nGives you declarative way of creating maps and simplifies manipulating with maps after they're created.\n\n## Build\nTo build maps.js from the source, you'll need node.js and npm.\n\n    git clone https://github.com/alchapone/maps.js.git\n    cd maps.js\n    npm install\n    grunt\n\n## Usage\nTo Build Google Map wit Maps.js you need to follow 3 simple steps:\n\n1. Add Google Maps API script to your HTML:\n\n  `\u003cscript src=\"http://maps.google.com/maps/api/js?sensor=true\"\u003e\u003c/script\u003e`\n\n2. Create a container for map with fixed height in your HTML:\n\n  `\u003cdiv id=\"worldmap\" style=\"height: 500px;\"\u003e\u003c/div\u003e`\n\n3. Create a new instance of `Map` function with parameters:\n\n  - To create a world map - minimum parameters required:\n\n          map1 = new Map({\n            div: '#worldmap'\n          });\n\n  - You can set center and zoom level for map\n\n          map2 = new Map({\n            div: '#sidneymap',\n            lat: -33.867365,\n            lng: 151.203957,\n            zoom: 8\n          });\n\n  - Easily add markers with info windows during map creation\n\n          map3 = new Map({\n            div: '#sidneymap',\n            lat: -33.867365,\n            lng: 151.203957,\n            zoom: 8,\n            markers: [{\n              lat: -33.867365,\n              lng: 151.2039,\n              title: 'Sidney',\n              animation: 'drop',\n              info:\n                content: 'Welcome to Sidney!'\n            }]\n          });\n\n  - Use goecode features without specifying lattitude and longitude\n\n          map4 = new Map({\n            div: '#map2',\n            geo: 'Munich'\n          });\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchaplinsky%2Fmaps.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falchaplinsky%2Fmaps.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchaplinsky%2Fmaps.js/lists"}