You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently API filters the result based on latitude and longitude with a threshold of 0.3 ~ 47 KM. This means that user will get results within 47 KM of his location.
Since we'll have shortage of data, lets remove this restrictions.
So behavior of API would be-
fetch all results from db with upper limit of 50.
calculate an additional value zoomLevel based on how dispersed are service locations. This zoomLevel should be between (10 and 15) or (10/15) and will be used to set zoom level on google map. e.g. if results are among multiple cities then zoomLevel would be 10 and if results are within a city the zoomLevel should be 15.
Some zoom-level with corresponding views are-
1: World
5: Landmass/continent
10: City
15: Streets
20: Buildings
The text was updated successfully, but these errors were encountered:
Currently API filters the result based on latitude and longitude with a threshold of 0.3 ~ 47 KM. This means that user will get results within 47 KM of his location.
Since we'll have shortage of data, lets remove this restrictions.
So behavior of API would be-
zoomLevel
based on how dispersed are service locations. ThiszoomLevel
should be between (10 and 15) or (10/15) and will be used to set zoom level on google map. e.g. if results are among multiple cities then zoomLevel would be 10 and if results are within a city the zoomLevel should be 15.Some zoom-level with corresponding views are-
1: World
5: Landmass/continent
10: City
15: Streets
20: Buildings
The text was updated successfully, but these errors were encountered: