{"id":23357328,"url":"https://github.com/payloaddev/react-simple-google-maps","last_synced_at":"2025-08-02T14:07:19.188Z","repository":{"id":57344676,"uuid":"71383146","full_name":"PayloadDev/react-simple-google-maps","owner":"PayloadDev","description":"Simple components for rendering Google Maps via the Google Maps JavaScript API","archived":false,"fork":false,"pushed_at":"2016-10-20T15:50:02.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-24T13:59:51.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/PayloadDev.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":"2016-10-19T17:35:37.000Z","updated_at":"2017-03-17T19:17:56.000Z","dependencies_parsed_at":"2022-09-11T09:01:19.066Z","dependency_job_id":null,"html_url":"https://github.com/PayloadDev/react-simple-google-maps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PayloadDev/react-simple-google-maps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayloadDev%2Freact-simple-google-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayloadDev%2Freact-simple-google-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayloadDev%2Freact-simple-google-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayloadDev%2Freact-simple-google-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PayloadDev","download_url":"https://codeload.github.com/PayloadDev/react-simple-google-maps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PayloadDev%2Freact-simple-google-maps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268401594,"owners_count":24244464,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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-12-21T10:20:11.553Z","updated_at":"2025-08-02T14:07:19.161Z","avatar_url":"https://github.com/PayloadDev.png","language":"CoffeeScript","readme":"# react-simple-google-maps\nSimple components for rendering Google Maps via the Google Maps JavaScript API\n\n## Installation\n\n`npm install react react-addons-shallow-compare react-simple-google-maps`\n\n## Usage\n\nEnsure the Google Maps JS API script is already loaded. `react-simple-google-maps` will use a global named `google.maps`.\n\nTo create a new map, just render a `\u003cMap\u003e` component. Markers and Polylines are children of the Map, and an InfoWindow can be a child of a Marker. An InfoWindow's children will be rendered into the InfoWindow when it is displayed.\n\nCoordinates are passed using the native Google Maps coordinates or bounds objects.\n\n```javascript\nbounds = new google.maps.LatLngBounds();\nposition = new google.map.LatLng(65, -100);\nbounds.extend(position);\nposition = new google.map.LatLng(40, -125);\nbounds.extend(position);\n\nmarkerPosition = new google.map.LatLng(50, -115);\n\n\u003cMap\n  bounds={bounds}\n  panControlOptions={position: google.maps.ControlPosition.LEFT_BOTTOM}\n  ref=\"map\"\n  scrollwheel={true}\n  streetViewControl={false}\n  style={height: 500}\n  zoomControlOptions={position: google.maps.ControlPosition.LEFT_BOTTOM} \u003e\n  \u003cMarker\n    position={markerPosition}\n    title='Start'\n    zIndex=1\u003e\n    \u003cInfoWindow\u003e\n      \u003ch1\u003eI am a marker!\u003c/h1\u003e\n    \u003c/InfoWindow\u003e\n  \u003c/Marker\u003e\n\u003c/Map\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloaddev%2Freact-simple-google-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayloaddev%2Freact-simple-google-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloaddev%2Freact-simple-google-maps/lists"}