5

How to run a script right after adding a block? I'm adding map block using ServerSideRender but it only prints div with map id map-canvas. I want to apply

var map = new google.maps.Map(document.getElementById('map-canvas')

How I would apply it after map block is added?

Rameez Iqbal
  • 507
  • 1
  • 5
  • 24

0 Answers0