How do I add GeoJson? #2425
Answered
by
Prateek138
Prateek138
asked this question in
Q&A
-
How do I add geojson data? like how we do using google.map.data.loadGeoJson("xyz.json") Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
Prateek138
Apr 24, 2021
Replies: 1 comment
-
If anyone else need this, it returns a map object on onLoad. Try this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Prateek138
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If anyone else need this, it returns a map object on onLoad.
Try this:
onLoad={(map) => console.log(map)}