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";
|
}
|
|
[HttpGet]
|
public string CreateMpt(string path, string token)
|
{
|
return path;
|
}
|
}
|
}
|