(function (window, undefined) {
// JS 加密混淆器 https://www.sojson.com/yasuojs.html
var Map = function(){
return new Map.fn.init();
};
Map.fn = Map.prototype = {
checkTokenUrl: "http://192.168.0.154:8899/mapcenter/checkToken",
featureUrl: "http://192.168.0.154:8899/mapcenter/wfs/getFeature",
wktDataQueryUrl: "http://192.168.0.154:8899/mapcenter/data/query",
add: function () {
// console.log("add");
},
remove: function () {
// console.log("remove");
},
init: function () {
// console.log("init");
return this;
},
//根据图层名称和ID获取wfs数据并赋值给Layer
/** 九交用法:
{
"analyzeType":"1",
"crsCode":"4326",
"de9imType":4,
"queryWkt":"MULTIPOINT((116.947186 40.498603))",
"tableName":"fgstest",
"workspace":"ceshi0414fgs",
"queryConditions":{"NAME":"七区" }
}
模糊查询用法:
{
"tableName":"fgstest",
"workspace":"ceshi0414fgs",
"queryConditions":{"NAME":"大" }
}
*/
//根据图层名称获取全量wfs数据
getWfsFeaturesForLayer: function(typeName,queryConditions,fun){
//获取当前地图(屏幕)四个顶点的经纬度
【地图中心项目】—— 封装基于jquery的插件暴露接口供外部调用
最新推荐文章于 2022-11-24 08:08:30 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)