useMapsLibrary vs google.maps.drawing #494
Unanswered
mladen-at-endurosat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After migrating to
react-google-maps
, can one continue to access the API and libraries viagoogle.maps
or one should always useuseMapsLibrary
?for example:
vs
How should one handle these API imports:
MapProps
OverlayType
LatLng
When I use the
OLD WAY
after the migration, from time to time I getgoogle.maps.drawing
asundefined
even if I followed the instructions for loading the API.Beta Was this translation helpful? Give feedback.
All reactions