GetLatLngFromAddress
Magento\InventoryDistanceBasedSourceSelection\Model\DistanceProvider\Offline\GetLatLngFromAddress
What it does
This class converts physical addresses into geographic coordinates (latitude and longitude) using offline geocoding data stored in the database.
Developers use this when implementing distance-based source selection to determine the geographic position of inventory sources or shipping addresses without relying on external APIs.
Results are cached in memory to improve performance for repeated address lookups.
Public Methods
- execute()