M4rtinK / modrana

ModRana is a flexible GPS navigation system for mobile devices. This is the main upstream modRana source code repository - waiting for your pull requests & patches! :)
www.modrana.org
GNU General Public License v3.0
67 stars 21 forks source link

Use map coordinates when drawing the log trace and routes #174

Closed M4rtinK closed 7 years ago

M4rtinK commented 7 years ago

As what's on screen is currently always in web Mercator projection, we should store map coordinates for each trace point and use that when drawing them on the map as the map coordinates -> screen coordinates conversion should be a lot cheaper than the geographic coordinates -> screen coordinates conversion (which has to do the conversion to map coordinates internally anyway).