2019-01-29 23:07:29 +03:00
|
|
|
var api = {
|
|
|
|
|
2019-02-22 16:57:40 +03:00
|
|
|
getMapObjects: function(query){
|
|
|
|
return m.request({
|
|
|
|
method: "POST",
|
2019-02-22 20:30:38 +03:00
|
|
|
url: "api/mapobjects/",
|
2019-02-22 16:57:40 +03:00
|
|
|
data: query
|
|
|
|
});
|
2019-01-29 23:07:29 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
getConfig: function(){
|
|
|
|
return m.request("/api/config");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
};
|