Can I select part of the street in Google Maps API? : I need to be able select/delete/update some parts of the streets on Google map(as on picture bellow).

This selected parts must be saved on server and there is must be counter of selected distance.

There is possible solution of this problem in Google Maps API?

[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/bJK8x.png