mapserver/server/static/js/api.js
2019-04-04 10:19:29 +02:00

19 lines
244 B
JavaScript

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