Install GEO my WordPress plugin
Install and active plugin: https://wordpress.org/plugins/geo-my-wp/
Setting Google Maps Server API key
![](https://appcheap.io/wp-content/uploads/2023/01/image-1024x571.png)
Enable Distance Matrix API here
Install and active plugin: https://wordpress.org/plugins/geo-my-wp/
Enable Distance Matrix API here