Log in
Interface

GetLatLngFromAddressInterface

Magento\InventoryDistanceBasedSourceSelectionApi\Api\GetLatLngFromAddressInterface

What it does

This interface defines a contract for converting physical addresses into geographic coordinates (latitude and longitude).

Developers use this when implementing distance-based source selection to geocode shipping addresses or warehouse locations, enabling calculation of distances between inventory sources and delivery destinations.

Public Methods

  • execute()