Use Mission Planner tile engine with my own course plotting code?

Is it possible to use Mission Planner’s tiling engine (GMap to obtain georeferenced tiles that it stitches together across multiple formats, e.g. GDAL) with my own code to draw courses, instead of drawing them using click-by-click waypoints onscreen? Perhaps a callable “MPTiler” external library exists that incorporates MP’s significant advances over GMap?