Example #1
0
        protected void btnCallSampleOperation_Click(object sender, EventArgs e)
        {
            var gpsData = new GpsData
            {
                LayerName          = "GPS Waypoints",
                FixAcquired        = true,
                NumberOfSatellites = 4,
                Location           = new Location
                {
                    Longitude = 175.495605,
                    Latitude  = -39.546977
                }
            };

            var result = OperationHelper.CallSampleOperation(@"http://localhost/ArcGIS/rest/services/Test/Blah/MapServer", gpsData);
        }