1. A method for navigation of a mobile device comprising: determining spatial information of at least one beacon detected in an image relative to the image, said image comprising an image of said at least one beacon within at least part of an environment surrounding the mobile device; and determining a position of the mobile device based on said spatial information comprising encoded visual information of said at least one beacon.