react-google-maps
react-google-maps copied to clipboard
React.js Google Maps integration component
MyMapComponent showing error Type '{}' is not assignable to type 'never' and Property 'isMarkerShown' does not exist on type 'never' ``` import React from 'react'; import { withScriptjs, withGoogleMap, GoogleMap,...
How do you use fontawesome 5 icons for markers? ``` import React from 'react' import { Marker as GoogleMarker, InfoWindow } from 'react-google-maps' const Marker = (props: any) => {...
I Got this using `yarn `on my `react `project. ``` warning " > [email protected]" has unmet peer dependency "@types/googlemaps@^3.0.0". warning " > [email protected]" has unmet peer dependency types/markerclustererplus@^2.1.29". ``` This...
![ezgif com-video-to-gif](https://user-images.githubusercontent.com/37759183/82008782-9b3e2700-963b-11ea-9adf-8c5ae98d58f7.gif) I have a question, I am doing a setOptions to a polygon to change it to "editable" it works fine, I can if I move the map from...
@tomchentw Hello I want to update google map langauge when page language changes using button click. Every thing works fine and components re render but lnagugae does nit chnage. or...
import React from 'react'; import { compose, withStateHandlers } from "recompose"; import { InfoWindow, withGoogleMap, withScriptjs, GoogleMap, Marker } from 'react-google-maps'; const Map = compose( withStateHandlers(() => ({ isMarkerShown: false,...
I want to reset the drawing manager. If I use data.setMap(null) then the drawing manager is reset but I want to reset polygon when I click on the reset button....
Hi all, is there a way to refresh MarkerClusterer when receive new props from my parent component? Now I'm doing this ``` const MapWithASearchBox = compose( withProps({ googleMapURL: "https://maps.googleapis.com/maps/api/js?key=hidden&v=3.exp&language=it&libraries=geometry,drawing,places", loadingElement:...
I use this is ok: const { MarkerClusterer } = require("react-google-maps/lib/components/addons/MarkerClusterer"); But when i use this is error: import MarkerClusterer from '@google/markerclustererplus'; ![屏幕快照 2020-03-31 上午11 03 12](https://user-images.githubusercontent.com/53731175/78318993-bb88b980-7598-11ea-8311-d227c890210f.png) So i don't...
Hey guys, Just a quick FYI, this library is not maintend and using soon-to-be deprecated lifecycle functions in React. I wasted 2 hours to find this out as its author...