Open ossama-othman opened 7 years ago
We could also leverage libraries like FreeType to render text into grid image to denote specific latitudes and longitudes. However, we'd likely have to switch to a compatible license like GPLv3 / LGPLv3 since the FreeType license is not compatible with GPLv2 and LGPLv2.x.
MaRC's map grid plotting routines are fine for map projections where the grid lines are strictly horizontal or vertical but not very good otherwise. Leverage algorithms like Bresenham's Line Algorithm and the Midpoint Circle Algorithm, as well as Bezier curve algorithms to improve the quality of the map grids.