The projection algorithm between (Latitude, Longitude) to (East, North) coordinates in nautical miles uses a simplified version of the Lambert conformal conic projection.
Reference of the Map
These formulas allow to compute only once the overall values associated with the Map.
For the reference of the map earthRadius is the radius of the earth in Nautical miles.
Computing the (East, North) coordinates from the (Latitude, Longitude) coordinates
The simplified formulas for computing the (East, North) coordinate of a mapItem are:
Computing the (East, North) coordinates from the (Latitude, Longitude) coordinates
The inverse of the previous formulas are:
Computing the screen coordinates
Computing the screen coordinates involves the orientation of the Map.
Notes
^ The (Latitude, Longitude) coordinates must be defined in degrees