Google-maps-react: Integrate the google-maps-react with Typescript config

Created on 17 Sep 2020  Â·  4Comments  Â·  Source: fullstackreact/google-maps-react

Am trying to Integrate the google-maps-react with Typescript config always am getting the props error like zoom is not there. I have to take a look at that props attributes are not there in that Map, Markers could you help me out, please. "google-maps-react": "^2.0.6",

image
image

Most helpful comment

@pedox Thanks a lot you have saved my day. it's working fine.

image

the result I have shared with you. it will help for others too. see below
image

All 4 comments

I simply put /** @ts-ignore */ above every props to skip type checking.

ex:

<Marker
  /** @ts-ignore */
  position={position}
  draggable={true}
/>

there are some pull request on #443 but never get any update from author.

@pedox Thanks a lot you have saved my day. it's working fine.

image

the result I have shared with you. it will help for others too. see below
image

Thanks lot.

On Thu, Sep 17, 2020 at 11:51 AM Naufal Fadhil notifications@github.com
wrote:

I simply put /** @ts-ignore */ above every props to skip type checking.

ex:

/** @ts-ignore */
position={position}
draggable={true}
/>

there are some pull request on #443
https://github.com/fullstackreact/google-maps-react/issues/443 but
never get any update from author.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fullstackreact/google-maps-react/issues/477#issuecomment-693958269,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALX6UCXXNV4KELFNCACES3DSGGTGTANCNFSM4RPROHLA
.

--
Thanks.

The issue has resolved I have attached my code what I have written. so hopefully this will help others too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cernoel picture cernoel  Â·  3Comments

kevinSuttle picture kevinSuttle  Â·  4Comments

lishi500 picture lishi500  Â·  4Comments

anushreepatil picture anushreepatil  Â·  5Comments

EmmaU25 picture EmmaU25  Â·  3Comments