fix unused-but-set-variable warnings/errors in map3D