(CDB) Fix bug in external map view