Skip to main content
Open

Possibility to filter data showed on the map based on the current center coordinate and zoom level

Related products:Software FactoryUniversal UIIndicium Service Tier
  • June 24, 2024
  • 1 reply
  • 69 views

Kevin Rosink
Sidekick
Forum|alt.badge.img+2

When the document has a lot of data with coordinates to be shown on the map, the application performance is very slow. Like in Google maps, it would be nice to filter all data based on a maximum and minimum latitude & longitude and the zoom level.

 

So the imput of this functionality would be like:

 

Center coordinate: 52.0907, 5.1214

Zoom level: 10 (should be mapped to a distance in meters)

 

And the output would be like :

 

min_lat …

max_lat …

min_lon …

max_lon…

 

The output coordinates can be calculated using the reversed Haversine formula.

 

With this data, the dataset can be filtered and the data & map wil only show the locations within the current position of the map.

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Software Architect
  • July 17, 2024
NewOpen