I use wpgmp_marker_source filter to query an external database. I change my query parameters based on the map id. This works very well. But when I get a few hundred markers the performance declines dramatically.
I can query my database and then insert rows directly into table ‘map_locations’ but I would need to remove the filter for that map id. Can you advise the proper way to do that?