1
0
forked from MTSR/mapserver
mapserver/server/static/js/api.js
Thomas Rudin 5f8887e8b6 js stuff
2019-01-29 21:07:29 +01:00

17 lines
279 B
JavaScript

var api = {
getMapObjects: function(x1,y1,z1,x2,y2,z2,type){
return m.request("/api/mapobjects/" +
x1 + "/" + y1 + "/" + z1 + "/" +
x2 + "/" + y2 + "/" + z2 + "/" +
type
);
},
getConfig: function(){
return m.request("/api/config");
}
};