Provide custom loader instance #235
-
I was wondering if instead of providing the API_KEY directly in the googleMap component there is a way to provide my own loader instance that is being used in my custom component. |
Beta Was this translation helpful? Give feedback.
Answered by
HusamElbashir
Sep 5, 2022
Replies: 1 comment
-
You can pass a promise through the
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HusamElbashir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can pass a promise through the
apiPromise
prop which should resolve to the globalgoogle
object. Example:Live Demo