As well as the building pins users should be able to see a heatmap that displays where progress is. This can be done using the data already fetched from the proxy and just colourcoding the regions by number of buildings.
It may also be possible to combine this with map areas as well but may take much more effort so this could be part of a further version
Implementation plan
Have an overall map controller that will send all map layers in one DTO. There will be two endpoints for this: overview and closeup. The closeup will send only individual buildings and regions. The overview will send heatmap, regions and building count pins.
The processing of regions and building data fetching will be done in their respective building and region services.
The region service will implement an interface to allow for a quick switch from legacy regions to new regions in the future.
As well as the building pins users should be able to see a heatmap that displays where progress is. This can be done using the data already fetched from the proxy and just colourcoding the regions by number of buildings.
It may also be possible to combine this with map areas as well but may take much more effort so this could be part of a further version
Implementation plan
Have an overall map controller that will send all map layers in one DTO. There will be two endpoints for this: overview and closeup. The closeup will send only individual buildings and regions. The overview will send heatmap, regions and building count pins.
The processing of regions and building data fetching will be done in their respective building and region services.
The region service will implement an interface to allow for a quick switch from legacy regions to new regions in the future.