The invention provides a method for accurately displaying a current visual field by an
eagle eye window in a three-dimensional map, which comprises the following steps of: 1, calculating a visual field
cutting surface in an
ECEF three-dimensional Cartesian coordinate
system according to an observation position, an observation angle and the like, and submitting the calculated visual field
cutting surface to a pixel
shader; 2, drawing a rectangle, wherein texture coordinates of four corners of the rectangle are respectively set as
longitude and
latitude coordinates of four corners of a two-dimensional view display range; 3, in a pixel
shader, converting
longitude and
latitude coordinates corresponding to pixels into
ECEF three-dimensional Cartesian coordinates according to the
ellipsoid parameters; and step 4, in the pixel
shader, judging the positions between the
ECEF three-dimensional Cartesian coordinates and each
cutting surface, and determining whether the ECEF three-dimensional Cartesian coordinates are in the view field or not so as to output a corresponding diagram.