mapserver/server/static/js/api.js
2019-03-18 20:01:57 +01:00

17 lines
224 B
JavaScript

var api = {
getMapObjects: function(query){
return m.request({
method: "POST",
url: "api/mapobjects/",
data: query
});
},
getConfig: function(){
return m.request("api/config");
}
};