{"id":13401161,"url":"https://github.com/pieterv/react-googlemaps","last_synced_at":"2025-04-06T09:11:07.741Z","repository":{"id":20407289,"uuid":"23683454","full_name":"pieterv/react-googlemaps","owner":"pieterv","description":"A declarative React interface to Google Maps","archived":false,"fork":false,"pushed_at":"2016-03-05T08:46:54.000Z","size":56,"stargazers_count":229,"open_issues_count":17,"forks_count":65,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-30T08:11:15.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pieterv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-09-04T23:46:43.000Z","updated_at":"2025-03-27T06:41:44.000Z","dependencies_parsed_at":"2022-07-31T18:48:16.924Z","dependency_job_id":null,"html_url":"https://github.com/pieterv/react-googlemaps","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieterv%2Freact-googlemaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieterv%2Freact-googlemaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieterv%2Freact-googlemaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieterv%2Freact-googlemaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pieterv","download_url":"https://codeload.github.com/pieterv/react-googlemaps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457803,"owners_count":20941906,"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":[],"created_at":"2024-07-30T19:00:59.362Z","updated_at":"2025-04-06T09:11:07.721Z","avatar_url":"https://github.com/pieterv.png","language":"JavaScript","readme":"React Google Maps [![Build Status](https://travis-ci.org/pieterv/react-googlemaps.svg?branch=master)](https://travis-ci.org/pieterv/react-googlemaps)\n============\n\nA declarative React interface to Google Maps.\n\nCheck it out:\n\n* [Example usage](examples)\n* [API docs](docs/api.md)\n* [What's new](CHANGELOG.md)\n\nImportant Notes\n---------------\n\nThis is an alpha release. The API and organizational structure are subject to\nchange. Comments and contributions are much appreciated.\n\nInstallation\n------------\n\n```sh\nnpm install react-googlemaps --save\n```\n\nThis library is written with CommonJS modules. If you are using\nbrowserify, webpack, or similar, you can consume it like anything else\ninstalled from npm.\n\nUsage\n-----\n\n```js\nvar React = require('react');\nvar ReactGoogleMaps = require('react-googlemaps');\nvar GoogleMapsAPI = window.google.maps;\n\nvar Map = ReactGoogleMaps.Map;\nvar Marker = ReactGoogleMaps.Marker;\nvar OverlayView = ReactGoogleMaps.OverlayView;\n\nfunction handleClick(e) {\n  console.log('Clicked at position', e.latLng);\n}\n\nReact.render(\n  \u003cMap\n    initialZoom={10}\n    initialCenter={new GoogleMapsAPI.LatLng(-41.2864, 174.7762)}\u003e\n\n    \u003cMarker\n      onClick={handleClick}\n      position={new GoogleMapsAPI.LatLng(-41.2864, 174.7762)} /\u003e\n\n    \u003cOverlayView\n      style={{backgroundColor: '#fff'}}\n      position={new GoogleMapsAPI.LatLng(-41.2864, 174.7762)}\u003e\n      \u003cp\u003eSome content\u003c/p\u003e\n    \u003c/OverlayView\u003e\n  \u003c/Map\u003e,\n  mountNode\n);\n```\n\nCheckout the [API docs](docs/api.md) or the [`examples`](examples) directory for more detailed usage.\n\nLicense\n-------\n\nLicensed under MIT. [Full license here »](LICENSE)\n","funding_links":[],"categories":["Uncategorized","Awesome React","JavaScript","UI Components","Demos","React [🔝](#readme)"],"sub_categories":["Uncategorized","Tools","Map"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpieterv%2Freact-googlemaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpieterv%2Freact-googlemaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpieterv%2Freact-googlemaps/lists"}