Log in
Model

GetLatsLngsFromAddress

Magento\InventoryDistanceBasedSourceSelectionApi\Model\GetLatsLngsFromAddress

What it does

This class retrieves latitude and longitude coordinates from a physical address by delegating to configured distance provider implementations (like Google Maps API).

Developers use this when implementing distance-based inventory source selection to geocode shipping addresses and calculate distances between customers and warehouse locations.

Public Methods

  • execute()