How to implement styling the boundary of a place in react ? #261
Replies: 2 comments 1 reply
-
Hi @SuhaibMaraqa. You won't get the actual coordinates for a boundary from any Google Api (that is like the holy grail of data :)) Overview: https://developers.google.com/maps/documentation/javascript/dds-boundaries/overview You would take the placeId you get from the autocomplete and adjust the styling function of your
|
Beta Was this translation helpful? Give feedback.
-
You can check the coverage of the boundaries here: https://developers.google.com/maps/documentation/javascript/dds-boundaries/coverage |
Beta Was this translation helpful? Give feedback.
-
I found this example which provides a place name and place id then it style the boundary of that place using js. I am trying to find a way to implement it with react using react-google-maps. I found the autocomplete example which solves half of the problem but I need an array of the place boundary coordinates.
Beta Was this translation helpful? Give feedback.
All reactions