The map has not supported this feature yet. I'm going to create a feature request for the developer team to support it. You can use another third-party plugin to create a route between two points on Google Map, such as https://wordpress.org/plugins/codepeople-post-map/.