Thanks for writing back.
If your goal is to just hide the map until the search has been performed, you have these options:
Solution 1:
This will work, only if you're showing map's shortcode anywhere inside the "[wpv-filter-start hide="false"]...[wpv-filter-end]" tags in the "Search and Pagination" section or inside the "[wpv-layout-start]...[wpv-layout-end]" tags in the "Loop Editor" section.
Within these tags, you can get the value from the "$_GET" superglobal, even if the view is set to update results through AJAX.
Note: You can change "$_GET['wpv_filter_submit']" to "$_GET['wpv_view_count']" which would work for AJAX and non-AJAX, both cases.
This means that only within the tags specified above, you can either use the custom shortcode from your reply or a conditional check for the "wpv_view_count" parameter, to show the map.
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-search-term )
Example:
[wpv-conditional if="( '[wpv-search-term param='wpv_view_count']' ne '' )"]
// Add map shortcode here
[/wpv-conditional]
Solution 2:
This solution is for the case when you need the map, outside the tags specified in the solution 1.
a). You'll add your map's shortcode, anywhere on the page but inside a special div container that is hidden when the page initially loads, for example:
<div class="map-container" style="display:none;">
// Add map shortcode here
</div>
b). Next, in the "JS editor", you can add some custom script, that will show this special map container when the search results have been updated through the AJAX:
jQuery( document ).on( 'js_event_wpv_parametric_search_results_updated', function( event, data ) {
jQuery('div.map-container').show();
});
I hope this helps.