Patent attributes
An image display method includes obtaining, by an electronic device, a first instruction triggered by a user, where the first instruction instructs the electronic device to display a panoramic image. The method further includes obtaining, by the electronic device in response to the first instruction, historical bearing information and real-time bearing information of a camera lens of the electronic device, where the historical bearing information indicates a historical bearing of the camera lens that is measured when the panoramic image is shot, and the real-time bearing information indicates a current target bearing of the camera lens. The method further includes displaying, by the electronic device, a target picture corresponding to the target bearing in the panoramic image when the historical bearing information includes the target bearing.