【发布时间】:2011-08-04 15:10:22
【问题描述】:
我想在 cfwindow 中显示谷歌地图。我创建了一个 cfwindow 并将源设置为包含我的谷歌地图的 url。我的地图下方的 html 表单显示,但实际地图不显示。为什么会发生这种情况,我可以做些什么来纠正它?
见代码:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script type="text/javascript"
src="http://maps.google.com/maps/api/js?sensor=false">
</head>
<body>
<cfwindow name="w1" title="Location" initShow=true x=10 y=10 width="700" height="450" source="url to map">
</cfwindow>
</body>
【问题讨论】:
-
你能发布一些代码吗?这将使人们更容易伸出援手。
标签: html coldfusion google-maps-api-3 cfwindow