Enabling Directions for OpenLayers
Directions for OpenLayers is powered via an OpenRouteService key
This documentation covers getting OpenRouteService setup, and setting your OpenRouteService key into WP Go Maps, in order to enable Directions for OpenLayers.
You can see a demo of this feature here.
The Following Plugin/s need to be installed and active
- WP Go Maps
- WP Go Maps Pro Add-on
The Following Map engine needs to be enabled
Firstly, please navigate to the OpenRouteService developer login page.
From there please login, or create an account.
Once logged in, please click “Create Token” from the developer dashboard
Please note that API keys have daily usage limitations. You can apply for a paid key if you wish to increase your daily quota beyond the free provision.
Copy the Key that has been created
Please navigate to
WP Go Maps -> Settings -> Advanced
You will need to have already set Maps Engine API to “OpenLayers”. The OpenRouteService API Key field will not be visible with Google selected.
Paste your OpenRouteService key. Remember to save your settings.
Please navigate as follows and select the "Enable Directions" toggle near the top of the page
WP Go Maps ->Maps (edit your chosen map) -> Settings -> Directions
Remember to "Save Map"