Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }