I get an error: "object doesn't support this property or method "createElement"".
Please, tell me where to place the creation of the block <div id='map'></div> and connect the script "https://maps.googleapis.com/maps/api/js?key=my API key &libraries=visualization&callback=initMap" correctly?