XPLMMapCreatedCallback_f
typedef void (* XPLMMapCreatedCallback_f)(
const char * mapIdentifier,
void * refcon);
A callback to notify your plugin that a new map has been created in X-Plane. This is the best time to add a custom map layer using XPLMCreateMapLayer().
No OpenGL drawing is permitted within this callback.