I have looked at our documentation for API 1.4 of Store Locator JS API and cant find a suitable function for retrieving driving distance and time in the documentation.
Would you be able to provide a code snippet, to update stores with data from Distance API, similar to this function in JS API v 1.4 | Woosmap Developers does?
For now, the Woosmap Store Locator JS API does not include features from Woosmap Distance API. But you can query the Distance API by yourself.
I’ve updated the JS Store Locator sample app to compute distance from a location (search from a user or geolocation) to a list of nearby stores, using the /distancematrix/endpoint from Woosmap Distance API.