banzatto
Posts: 21
Joined: Tue Jul 03, 2007 11:38 pm

Zoom Mobile

Fri Oct 23, 2009 9:28 pm

I have a maplib in mobile and i have a function to Fit Map (zoom extend) but don't work, in desktop work. Why ?

function to fit

GpsViewNET.MapData md = map1.ActiveMapData("_active");
GpsViewNET.Point tam = md.Size;
map1.Zoom = 1;
map1.ZoomByBoundingBox(new GpsViewNET.Point(0, 0), tam);
map1.Update();
map1.Refresh();

Return to “GpsTools”