Added google maps step #10
Reference in New Issue
Block a user
Delete Branch "google-maps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Smoke test
Stop and delete previous docker container and run npm run setup script
After migrations are run , the postgis extension should be active
Run the app and after
mjestostep you should be redirected tonaseljestep, and the google map shown ,and zoomed to the chosen municiplaity.You should not be allowed to zoom out the map out of Bosnia And Herzegovina
After clicking next button, the coordinates of the bounding box should be saved in new bounding_box column, they are saved it seems as a binary. But you can check cooridnates with query
select st_astext(bounding_box) from "RealEstateRequests"Why northWest two times ?
Probably forgotten console.log statement
You don't need this, there is function in helpers/codes.js file, on bottom,
getMunicipalityNameSame as comment above
Check comment below
You can get municipality name (real name, not Id) using function from helpers/codes.js, on bottom,
getMunicipalityNamefor example
getMunicipalityName(request.region, req.body.municipality);Fixed
Fixed
Polygons must start and end at same point
Fixed
changed this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
added 1 commit
6fbacb32- Fixed bounding box bug, and removed unecesary paramsCompare with previous version
merged
mentioned in commit
5bf95e0594