src/Map.cpp
void MapCreateCB (const char *  mapIdentifier,
                  void *        )       // refcon
{
    // This is a plugin entry function, so we try to catch all exceptions
    try {
        MapLayerCreate(mapIdentifier);
    }
    catch (const std::exception& e) { LOG_MSG(logFATAL, ERR_EXCEPTION, e.what()); }
    catch (...) { LOG_MSG(logFATAL, ERR_EXCEPTION, "<unknown>"); }
}
/// Callback called when a map is created. We then need to add our layer to it
Callback called when a map is created. We then need to add our layer to it
Callback called when a map is created . We then need to add our layer to it
void MapCreateCB (const char *  mapIdentifier,
                  void *        )       
{
    try {
        MapLayerCreate(mapIdentifier);
    }
    catch (const std::exception& e) { LOG_MSG(logFATAL, ERR_EXCEPTION, e.what()); }
    catch (...) { LOG_MSG(logFATAL, ERR_EXCEPTION, "<unknown>"); }
}
void MapCreateCB ( const char * mapIdentifier , void * ) { try { MapLayerCreate ( mapIdentifier ) ; } catch ( const std :: exception & e ) { LOG_MSG ( logFATAL , ERR_EXCEPTION , e . what ( ) ) ; } catch ( ... ) { LOG_MSG ( logFATAL , ERR_EXCEPTION , " " ) ; } }
Callback called when a map is created.
Callback called when a map is created .
// refcon // This is a plugin entry function, so we try to catch all exceptions