Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 116
Registered: ‎10-31-2012
My Device: BB10 Dev Alpha B
My Carrier: -

Why is MapView vomitting fprintfs?

I was trying MapView today.

 

It looks like the production version of the Cascades libraries still has debug turned on for MapView. 

For code that does this:

 

	maps::MapView * mv = new maps::MapView;
	mv->setLatitude(43.779640);
	mv->setLongitude(-79.415294);
	mv->setAltitude(1000.0);
	mv->setPreferredSize(700.0, 700.0);
	mv->setHorizontalAlignment(HorizontalAlignment::Fill);
	mv->setRenderEngine("RenderEngine3D");
	mv->setTilt(60);

 

I get this (a small sample of the actual output):

 

370 = 0
374 = 0
377 = 0
379 = 0
370 = 0
374 = 0
377 = 0
379 = 0
TcsRenderEngine::initialize
WindowToWorld: lat=0.000000 lon=0.000000
WindowToWorld: lat=0.000000 lon=0.000000
TcsRenderEngine::setViewport
WindowToWorld: lat=0.000000 lon=0.000000
WindowToWorld: lat=0.000000 lon=0.000000
TcsRenderEngine::setViewport
TcsRenderEngine::initialize
WindowToWorld: lat=43.779640 lon=-79.415294
WindowToWorld: lat=43.779640 lon=-79.415294
TcsRenderEngine::setViewport
TcsRenderEngine::setViewport
TcsRenderEngine::setViewport
!!!!!width:768 height:700
PAL_FileCreateDirectoryEx: dataPAL_FileCreateDirectoryEx: data/enhancedcontent/NBMPAL_FileCreateDirectoryEx: data/enhancedcontent/NBMPAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/MATPAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/MATNBGMViewController::LoadMapData, m_materialsAreLoaded
PAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVRPAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVAPAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVRPAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVAPAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVRPAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVALoadAndUnloadTiles checking content:T_DVR_1_NBM_23_9157_11941
LoadTile buffersize(2464): content:T_DVR_1_NBM_23_9157_11941
PAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVRLoadAndUnloadTiles checking content:T_DVA_1_NBM_23_9157_11941
LoadTile buffersize(840): content:T_DVA_1_NBM_23_9157_11941
PAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVALoadAndUnloadTiles checking content:T_DVR_1_NBM_23_9157_11940
LoadTile buffersize(2264): content:T_DVR_1_NBM_23_9157_11940
PAL_FileCreateDirectoryEx: data/enhancedcontent/NBM/DVRLoadAndUnloadTiles checking content:T_DVA_1_NBM_23_9157_11940
LoadTile buffersize(1152): content:T_DVA_1_NBM_23_9157_11940

 

Can someone in BB get it turned off please?

 

(Btw if anyone is wondering, the geo-coordinate is Finch subway station in Toronto)