forked from MTSR/mapserver
19 lines
244 B
JavaScript
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");
|
|
}
|
|
|
|
|
|
};
|