4 Answers, 1 is accepted
The Map item calculates its zoom level based on its extent, and the extent depends on the points currently displayed. However, you can add some "virtual" points to control the zoom at a desired level. Please refer to this KB article that demonstrates how to implement a solution for such scenario: How to set the Map extent dynamically when showing a single data point.
Thanks, I did see this. The issue is that the map doesn't contain a single point, it contains many points. So how would I determine which out of the many points is the largest one (highest For my data is something like this (these are postcodes)
48185, US = 126
48111, US = 18
48324, US = 14
48342, US = 3
48348, US = 11
48154, US = 20
In the KB's example report we used Lat and Long fields for clarity, but in your report you can use the expressions Location.Latitude and Location.Longitude, which will obtain their values from the actual coordinates, returned from the LocationProvider - see the Additional Information section here.
As explained, the Map item sets its extent to show all the points, because, as a data item, it shows the available data by design. However, you can filter out the points that have a size smaller than a certain value, thus reducing the points in a series. Please note that in this case you shouldn't use ConditionalFormatting to change the point's visibility, because even the invisible points are included in the map extent. Since the point's size is probably bound to a data field, you need to add a filter rule based on that field, i.e. =Fields.US > 15, which in your case will show only the postcodes 48185, 48111 and 48154.
Hope it helps.