We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb09c25 commit 53bf232Copy full SHA for 53bf232
api/map.js
@@ -1,10 +1,8 @@
1
-const METERS = '/assets/data/meters.geojson';
2
-
3
var api = require('./base');
4
5
var MapsAPI = {
6
getMetersLocations : function() {
7
- return api.json(METERS);
+ return api.json('/action/spatial/meters', null, 'GET');
8
},
9
getGroups: function() {
10
return api.json('/action/spatial/group', null, 'GET');
0 commit comments