{"id":19021619,"url":"https://github.com/buildwithlal/google-maps-multiple-markers","last_synced_at":"2025-08-12T17:36:26.821Z","repository":{"id":144099525,"uuid":"72516271","full_name":"BuildWithLal/google-maps-multiple-markers","owner":"BuildWithLal","description":"Draw multiple location markers on Google maps using Google Maps API","archived":false,"fork":false,"pushed_at":"2016-11-01T10:07:55.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T00:42:30.268Z","etag":null,"topics":["google-maps","google-maps-api","google-maps-javascript","markers"],"latest_commit_sha":null,"homepage":null,"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/BuildWithLal.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-01T08:07:59.000Z","updated_at":"2016-11-01T08:28:32.000Z","dependencies_parsed_at":"2024-07-31T23:08:08.831Z","dependency_job_id":null,"html_url":"https://github.com/BuildWithLal/google-maps-multiple-markers","commit_stats":null,"previous_names":["buildwithlal/google-maps-multiple-markers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fgoogle-maps-multiple-markers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fgoogle-maps-multiple-markers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fgoogle-maps-multiple-markers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuildWithLal%2Fgoogle-maps-multiple-markers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BuildWithLal","download_url":"https://codeload.github.com/BuildWithLal/google-maps-multiple-markers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240065856,"owners_count":19742579,"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":["google-maps","google-maps-api","google-maps-javascript","markers"],"created_at":"2024-11-08T20:22:49.774Z","updated_at":"2025-02-21T18:25:10.375Z","avatar_url":"https://github.com/BuildWithLal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"###Google Maps multiple Markers \n=================================\n\n1. index.html has a **div** to show Map\n2. map_script.js - javascript to draw multiple markers on Google Map\n3. Link to Google Map API\n\n\u003eAutomatically center the map fitting all markers on the screen\n\n**NOTE**\n\nPlease put your [Google console](https://console.developers.google.com) API key in index.html \n```html\n\u003cscript src=\"https://maps.googleapis.com/maps/api/js?key=GOOGLE_API_KEY\u0026callback=initiateMap\" \nasync defer\u003e\u003c/script\u003e\n```\n\nGet your lat, long list and pass it to `var locations` in map_script.js \n\n```javascript\nvar locations = [\n                   [31.5546, 74.3572],\n                   [34.0150, 71.5805],\n                   [30.1830, 66.9987],\n\t\t                …\n\t\t                …\t\t\n                    ];\n```\n\nFor more details, read this [post](http://sparkanswers.com/google-maps-multiple-markers/)\n\nCheers! \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildwithlal%2Fgoogle-maps-multiple-markers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildwithlal%2Fgoogle-maps-multiple-markers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildwithlal%2Fgoogle-maps-multiple-markers/lists"}