Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/430.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何在谷歌地图上创建div区域_Javascript_Html_Css - Fatal编程技术网

Javascript 如何在谷歌地图上创建div区域

Javascript 如何在谷歌地图上创建div区域,javascript,html,css,Javascript,Html,Css,如何在Google map iframe上创建div区域。我的部分代码已经准备好了()。该图像()是我想要得到的示例。将此div添加到map iframe下面 <div class="modal"> <!-- text and input box go here --> </div> .modal { width: 500px; height: 160px; background: #FFF; position: ab

如何在Google map iframe上创建div区域。我的部分代码已经准备好了()。该图像()是我想要得到的示例。

将此div添加到map iframe下面

<div class="modal">
    <!-- text and input box go here -->
</div>
.modal {
    width: 500px;
    height: 160px;
    background: #FFF;
    position: absolute;
    top: 100px;
    left: 250px;
}