I am developing a C ++ application for viewing and editing a map of a fictional planet. How it works will be similar to Google Maps. I would like the user to be able to see their current position in latitude / longitude and world coordinates in the graphical interface.
How to convert latitude and longitude to "world coordinates" and vice versa, as in Google Maps? or "pixel coordinates" and vice versa?
google-maps latitude-longitude geography
Jake petroules
source share