Skip Navigation

[Resolved] The Google Maps is not showing after search Enter

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by yvonneJ 5 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1446087

I am trying to:
If you search on hidden link for a couch with (for example) 'voornaam': Ton it is not showing the Google Maps of the specific coach. If refresh the page, it is fine.

Link to a page where the issue can be seen:
hidden link

What me be causing the problem:
In the Decvelopers Tool from Google Chrome it gives me this error/ warning: UnCaught TypeError: viewUniqueId.split is not function

It is on rule 1311 of the file wpv_addon_maps.js. See the specific part here:
/**
* Check if a Map block contains markers coming from a View, and it it does, remove those, because new ones are
* provided by View.
*
* @since 2.0
* @param {string} viewUniqueId
*/
self.cleanupMarkersFromMapBlock = function( viewUniqueId ) {
const viewId = viewUniqueId.split( '-' )[ 0 ];

$( '.js-wpv-addon-maps-marker' ).each( function( key, marker ) {
// If this is a marker coming from given View...
if ( Number( $( marker ).data( 'fromview' ) ) === Number( viewId ) ) {
// Record View - Map blocks relation, as it's useful in some situations
self.view_map_blocks_relation[ viewUniqueId ] = $( marker ).data( 'markerfor' );

// Remove markers next to Map div (instead of in View div)
$( marker ).prev( '.js-wpv-addon-maps-render' ).next().remove();
}
} );
};

Hope you can help me.

#1446385

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

This is known issue to us and we just reported it in front of our devs.

The workaround could be, Can you please try to checkmark the option "Don't include current page in query result" available with "Query Options" section on our edit view page and check if that helps you to resolve your issue.

#1446397

Thanks! That works.

#1446399

My issue is resolved now. Thank you!