I have an editable polygon. After changing the corner points positions, I would like to be able to log the new corner points. polygon.getPoints() is not working. I have an console error message as "getPoints is not defined"
Can you please give me an example of how to get the list of new corner points of the polygon?
I have an editable polygon. After changing the corner points positions, I would like to be able to log the new corner points. polygon.getPoints() is not working. I have an console error message as "getPoints is not defined" Can you please give me an example of how to get the list of new corner points of the polygon?