Log in
Model

LatLng

Magento\InventoryDistanceBasedSourceSelection\Model\LatLng

What it does

This class represents a geographical coordinate pair (latitude and longitude) used in distance-based source selection for inventory.

Developers use this as a data container when calculating distances between inventory sources and shipping destinations to determine optimal fulfillment locations.

Public Methods

  • getLat()
  • getLng()