Fixed google maps bug, changed size, gardenSize, and price colum names, fixed bug with query review not showing default values

This commit is contained in:
Nedim Uka
2019-05-30 10:43:47 +02:00
parent a0f2b044b2
commit 08a94ca4f8
8 changed files with 51 additions and 51 deletions

View File

@@ -73,10 +73,10 @@
$("#btnsubmit").click(() => {
var bounds = map.getBounds();
$("#north").val(bounds.na.l);
$("#south").val(bounds.na.j);
$("#east").val(bounds.ia.l);
$("#west").val(bounds.ia.j);
$("#north").val(map.getBounds().getNorthEast().lat());
$("#south").val(map.getBounds().getSouthWest().lat());
$("#east").val(map.getBounds().getNorthEast().lng());
$("#west").val(map.getBounds().getSouthWest().lng());
$("#form-map-output").submit();
});