public void moveMap(int movePixelUpDown, int movePixelRightLeft, int currentZoomLevel) { MapGooglePoint tmpPoint = new MOBMAP.MapGoogle.MapGooglePoint( this.adjustLatByPixels(Convert.ToSingle(_centerPoint.latitude, CultureInfo.InvariantCulture.NumberFormat), movePixelUpDown, currentZoomLevel).ToString(CultureInfo.InvariantCulture.NumberFormat), this.adjustLonByPixels(Convert.ToSingle(_centerPoint.longitude, CultureInfo.InvariantCulture.NumberFormat), movePixelRightLeft, currentZoomLevel).ToString(CultureInfo.InvariantCulture.NumberFormat)); _centerPoint = tmpPoint; }
public void moveMap(int movePixelUpDown, int movePixelRightLeft, int currentZoomLevel) { MapGooglePoint tmpPoint = new MOBMAP.MapGoogle.MapGooglePoint( this.adjustLatByPixels(Convert.ToSingle(_centerPoint.latitude, CultureInfo.InvariantCulture.NumberFormat), movePixelUpDown, currentZoomLevel).ToString(CultureInfo.InvariantCulture.NumberFormat), this.adjustLonByPixels(Convert.ToSingle(_centerPoint.longitude, CultureInfo.InvariantCulture.NumberFormat), movePixelRightLeft, currentZoomLevel).ToString(CultureInfo.InvariantCulture.NumberFormat)); _centerPoint = tmpPoint; }