Polygon onClick getPath
gregwinn opened this issue · 0 comments
gregwinn commented
Hello,
I need to get the path data from a Polygon after it's been moved around. Here is an example of what I am doing but I am not sure how to get the path data after the Polygon is clicked.
clickHandler = (props, polygon, event) => {
// I have found props.google.maps.Polygon
// How do I get the paths of the clicked polygon??
}
...
<Polygon onClick={this.clickHandler} ... />
Thanks for the help!