|
@@ -289,14 +289,12 @@ export default {
|
|
init: function (options) {
|
|
init: function (options) {
|
|
listForMark().then(response => {
|
|
listForMark().then(response => {
|
|
let res = response;
|
|
let res = response;
|
|
- console.log("resresresres",res)
|
|
|
|
for (let i = 0; i < res.data.length; i++) {
|
|
for (let i = 0; i < res.data.length; i++) {
|
|
this.addMark(res.data[i]);
|
|
this.addMark(res.data[i]);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
addMark: function (options) {
|
|
addMark: function (options) {
|
|
- debugger
|
|
|
|
let that = this;
|
|
let that = this;
|
|
let marker = "markers" + options.id;
|
|
let marker = "markers" + options.id;
|
|
marker = L.marker(
|
|
marker = L.marker(
|