Exemple #1
0
        public void Get(EDataPOIType type)
        {
            var input = new SearchXYInput
            {
                DataType = type
            };
            var service = new SearchXYService(input);
            var result  = service.GetLists(input);

            base.JsonResponse(result);
        }
Exemple #2
0
        /// <summary>
        /// Gets xy to data.
        /// </summary>
        /// <param name="x">The x.</param>
        /// <param name="y">The y.</param>
        /// <param name="buffer">The buffer.</param>
        /// <param name="type">The type = POI、Fc.</param>
        public void Get(string x, string y, int buffer, EDataPOIType type)
        {
            var input = new SearchXYInput
            {
                X        = x,
                Y        = y,
                Buffer   = buffer,
                DataType = type
            };
            var service = new SearchXYService(input);
            var result  = service.GetLists(input);

            base.JsonResponse(result);
        }