menu
Channels
Team
Posts
Chat
Members
Info

May 16, 2019 at 5:28am
Hi Team
  • reply
  • like

June 26, 2019 at 8:00am
HI, I want to inject one component into the map as map controls how can I do that. Or do I have to use the window.google.maps object to push that
  • reply
  • like

July 24, 2019 at 8:45pm
My map just won't load, how can i handle loading errors?
  • reply
  • like

October 7, 2019 at 5:35pm
I know I need to learn how to read documentation properly, but at the moment I couldn’t figure out to get the location of the marked dropped or dragged to. How do I get the location of the marker dragged to? I tried onDragEnd but returns a array of _.Dm {latLng: _.L, xa: undefined, pixel: _.I
  • reply
  • like
Suggestions please! :(
  • reply
  • like
So figured it. If someone having trouble, try markerRef.current.position.lat(), markerRef.current.position.lng(). Is there a better way to get the location? With the address?
  • reply
  • like

October 23, 2019 at 10:50am
Hi guys, I have tried all my best to include SearchBox offered by react-google-maps but unable to get that. It is not exported by default in the api
  • reply
  • like

November 1, 2019 at 2:52am
Hi...Every one
  • reply
  • like

November 8, 2019 at 3:46pm
I am thinking about updating from react-google-maps to this newer react-google-maps-api, however I have one major concern. Previously I was able to authenticate google maps through a client id, but now it appears that I HAVE to have an api key to authenticate. Is that correct? Or is there a way to continue authenticating by client id?
  • reply
  • like

November 19, 2019 at 9:28pm
Hello, I am trying to figure out how to display InfoWindow in correct way always on top of Pin https://b6hb3.csb.app/ is this correct way or is there something better?
  • reply
  • like

December 6, 2019 at 7:54am
Hey guys, have anyone faced with Polyline artefacts ? It's like when changing overlays with different set of Polylines, old one stays where it was and new Polylines rendered aswell
  • reply
  • like

January 31, 2020 at 10:32am
Hellow, Can i use lat, lng in DirectionsService. I want use this response: null, travelMode: 'DRIVING', origin: {{ lat: -34.397, lng: 150.644 },
  • reply
  • like
without origin: 'New York',
  • reply
  • like
i want use this destination: new google.maps.LatLng(40.712216, -74.22655),
  • reply
  • like
i success my problem, you can use: origin: { lat: 41.23, lng: 42.23 },
  • reply
  • like

March 3, 2020 at 9:53pm
Hi guys, i'm looking for someone who already used animation for markers. I would like bounce a marker when my cursor is on a card corresponding like on this website : https://www.happycow.net/searchmap?s=3&location=paris&radius=15&metric=mi&limit=81&order=default&lat=48.8566&lng=2.35222
I can't find how to target my marker and how animate it.
  • reply
  • like

May 11, 2020 at 4:31pm
Im trying to set up the api with Gatsby and am getting google undefined, I know I have to look in the window for Gatsby but don't know how to do it with this api, here is my code so far
import { LoadScript, GoogleMap } from "@react-google-maps/api"
const MapFooter = () => {
return (
<>
<LoadScript
googleMapsApiKey="fdsaf"
region="EN"
version="weekly"
/>
<GoogleMap id="ground-example" zoom={13} />
</>
)
}
  • reply
  • like

June 17, 2020 at 12:15pm
hi guys, I am trying to add click events on the infoBox children but it is not working. When I tried it using the infoWindow it works just fine. here is the code snippet:
position={props.position}
options={{
pixelOffset: new window.google.maps.Size(-60, -50),
boxStyle: { width: "140px" },
}}
onCloseClick={handleClose}
>
<div>
<button onClick={handleClick}
/>
</InfoBox>`
  • reply
  • like