How to limit the loading of reacords in map view?

As we know in list view the limit by default is 20 records but when we go to map view it tries to load all the records in a docytpe and this just hangs the whole browser and everything becomes unresponsive.

how can i limit the no of records loading in map view to default 20 or max 100?

Ayyone has any idea how to fix this ?