{"repo":"visgl/react-google-maps","free":true,"listed":false,"github":"https://github.com/visgl/react-google-maps","clone":"git clone https://github.com/visgl/react-google-maps.git","description":"React components and hooks for the Google Maps JavaScript API","language":"TypeScript","stars":1920,"topics":["google-maps","google-maps-api","react"],"license":"MIT","category":"ui-components","readme_excerpt":"React Components for the Google Maps JavaScript API This is a TypeScript / JavaScript library to integrate the Maps JavaScript API into your React application. It comes with a collection of React components to create maps, markers, infowindows, geometry overlays (circles, polylines, polygons), and photorealistic [3D maps][gmp-maps-3d], as well as a set of hooks to use some of the Maps JavaScript API [Services][gmp-services] and [Libraries][gmp-libraries]. Installation This library is available on npm as [ @vis.gl/react-google-maps ][npm-package]. or (PowerShell users: since @ has a special meaning in PowerShell, the package name has to be quoted) Usage Import the [ APIProvider ][api-provider] and wrap it around all components that should have access to the Maps JavaScript API. Any component within the context of the APIProvider can use the hooks and components provided by this library. To render a simple map, add a [ Map ][api-map] component inside the APIProvider . Within the Map component, you can then add further components like [ Marker ][api-marker], [ AdvancedMarker ][api-adv-marker], [ InfoWindow ][api-infowindow], or geometry components such as [ Circle ][api-circle], [ Polyline ][api-polyline], and [ Polygon ][api-polygon] to render content on the map. For photorealistic 3D maps, use the [ Map3D ][api-map-3d] component instead. For more advanced use-cases you can even add your own components to the map that make use of google.maps.OverlayView or google.maps.WebGlOver","default_branch":null,"files":null,"tree":[],"storefront":"/r/visgl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/visgl/react-google-maps/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}