Page 1 of 1

Zoom Mobile

Posted: Fri Oct 23, 2009 9:28 pm
by banzatto
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();