A method and a device for determining motion of a device are described. In an example, a plurality of points-of-interest (POIs) are identified in a pedestrian area of an indoor space and, with each POI, a probabilistic representation of motion transition of a device from the POI is associated. The…