管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-05-14 3ff919e7115afa8bfd9f8ca3b232548903a595e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
 
namespace ExportMap.Controllers
{
    //[RoutePrefix("3d/terrain")]
    public class TerraController : ApiController
    {
        [Route("{path}/layer.json")]
        [HttpGet]
        public string GetLayer(string path)
        {
            return "layer.json";
        }
 
        [Route("{path}/{z}/{x}/{y}.terrain")]
        [HttpGet]
        public string GetTerrain(string path, int z, int x, int y)
        {
 
            return ".terrain";
        }
    }
}