You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace OpenAuth.App.Request
|
|
|
|
|
{
|
|
|
|
|
public class VectorTileSearchModel
|
|
|
|
|
{
|
|
|
|
|
public void Init()
|
|
|
|
|
{
|
|
|
|
|
if (string.IsNullOrEmpty(filter)) filter = " 1=1";
|
|
|
|
|
if (string.IsNullOrEmpty(source_layer)) source_layer = table;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int x { get; set; }
|
|
|
|
|
public int y { get; set; }
|
|
|
|
|
public int z { get; set; }
|
|
|
|
|
|
|
|
|
|
public string table { get; set; }
|
|
|
|
|
|
|
|
|
|
public string source_layer { get; set; }
|
|
|
|
|
|
|
|
|
|
public string field { get; set; }
|
|
|
|
|
|
|
|
|
|
public string filter { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|