IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit 785bad65 authored by jedjas12's avatar jedjas12
Browse files

Removed extra controls, changed to posting Dev1, circle works

parent af2e6442
......@@ -100,7 +100,7 @@ export default class GeoQuery extends LightningElement {
console.log('Getting: ' + distanceURL.href);
// Send out the GET request
this.assetsPromise = utils.get(distanceURL.href);
this.assetsPromise = utils.post(distanceURL.href);
// When the promise is fulfilled handle it
this.assetsPromise.then(response => {
......
......@@ -52,6 +52,14 @@ export default class Map extends LightningElement {
var drawControl = new L.Control.Draw({
edit: {
featureGroup: drawnItems
},
draw: {
polygon: {
allowIntersection: false
},
polyline: false,
marker: false,
circlemarker: false
}
});
this.map.addControl(drawControl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment