Title: Borlabs &amp; loading Map Block
Last modified: June 17, 2024

---

# Borlabs & loading Map Block

 *  Resolved [Julian](https://wordpress.org/support/users/juliangk/)
 * (@juliangk)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/borlabs-loading-map-block/)
 * Hello there,
 * I have used this block in combination with Borlabs on another side, where I used
   this hook to incet the Borlabs shortcode for the Block:
 *     ```wp-block-code
       add_filter( 'render_block', function ( $block_content, $block ) {	if ( is_plugin_active('borlabs-cookie/borlabs-cookie.php') ) {		if ( $block['blockName'] === 'wpmapblock/wp-map-block' && is_plugin_active( 'wp-map-block/wp-map-block.php' )) {			$shortcode = do_shortcode('[borlabs-cookie id="open-street-map" type="content-blocker"]' . $block_content . '[/borlabs-cookie]');						return $shortcode;		}    }	return $block_content;}, 10, 2 );
       ```
   
 * Which works for the Borlabs Blocker, but when unblocked, in the new Borlabs version
   it doesn’t load the map anymore.
   Can you please advise me on which function I
   execute in js after unblocking, to initialize loading?Do you have an “initialise”
   function I can use after unblocking content?Thank you and best regardsJulian

Viewing 1 replies (of 1 total)

 *  Thread Starter [Julian](https://wordpress.org/support/users/juliangk/)
 * (@juliangk)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/borlabs-loading-map-block/#post-17832850)
 * As I have not gotten a response, I have built my own Block, which works with 
   Borlabs.
   Either way, you should add an option for that.

Viewing 1 replies (of 1 total)

The topic ‘Borlabs & loading Map Block’ is closed to new replies.

 * ![](https://ps.w.org/wp-map-block/assets/icon-256x256.png?rev=2371250)
 * [WP Map Block - Gutenberg Map Block for Google Map and OpenStreet Map by aBlocks](https://wordpress.org/plugins/wp-map-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-map-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-map-block/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-map-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-map-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-map-block/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Julian](https://wordpress.org/support/users/juliangk/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/borlabs-loading-map-block/#post-17832850)
 * Status: resolved