ADD бегающий кружок при закгрузке картинок
This commit is contained in:
parent
34d1aec687
commit
560f09c888
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
|
|
@ -392,14 +392,15 @@ function addPoint()
|
|||
markers.removeLayer(points[id]);
|
||||
}
|
||||
|
||||
text = '<center><img src="/img/loading.gif" style="height: 89px; width: 89px;" /><br/><br/><b style="font-size: 1.2em;">Подождите пожалкуйста!</b><br/>Изображения загружаются на сайт...</center>'
|
||||
balloon = L.popup()
|
||||
.setLatLng([$('#addPointLat').val(), $('#addPointLng').val()])
|
||||
.setContent(text)
|
||||
.openOn(myMap);
|
||||
setTimeout(function () {
|
||||
balloon._close();
|
||||
delete balloon;
|
||||
}, 2000);
|
||||
// setTimeout(function () {
|
||||
// balloon._close();
|
||||
// delete balloon;
|
||||
// }, 2000);
|
||||
|
||||
obj = {};
|
||||
obj.id = data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue