by David Crowther
Each time I pan or zoom the map, the Data Table filters the records to the Current Map Extents. How can you Show All Records in the Data Table all the time?
The default setting for a MapThat Layer is for the Data Table to only show the features that are in the Current Map Extents. For example, if we show the Liverpool Wards Layer and zoom into the map, the Data Table updates to only show the Ward records that are shown in the Current Map Extent e.g. below where we are only listing 16 of the total 30 Wards.
If you wish to change this and allow a user to view ALL the Records in the Data Table (without filtering by current Map Extents), open the MapThat Admin Forms and edit that Spatial Layer by ticking the Show All Records in Hits Panel tick box.
By default the Layer will still show only those records in the Current Map Extents.
However, the user now has the option to press the SHOW ALL RECORDS button…(this button would previously been greyed out).
Once depressed, the Data Table now shows ALL Records in the Data Table, with the ones that are in the Current Map Extents shown in Yellow.
You can also set this option at startup for any Layer, so the Show All Records button is auto activated. To do this also tick the Show All Records at Start option for this Layer in the MapThat Admin Forms as well.
If you now open MapThat and tick to display the Liverpool Wards Layer and open the Data Table, because all the Wards are shown in the Current Map Extent,.. all records are highlighted in Yellow – because the Show All Records button has been auto chosen at startup.
And now as you pan and zoom the map, the Data Table keeps showing All Records, with those in the Current Map Extents shown in Yellow.
By unticking the Show All Records button the Data Table reverts back to show only the Records in the Current Map Extent.