此代码用于将圆圈隐藏在mouseout上,但不要在mouseover上重新显示圆圈。var buildings = {}; center: new google.maps.LatLng(30.512028, -90.466363(document.getElementById('map-canvas'), mapOptions);
var ctaLayer = new google.maps</
我试图从API加载数据,然后使用圆圈显示数据。我能够用数据点创建标记,但不能创建圆圈。我在跟踪。我期望发生的是在for loop中,使用center: new google.maps.LatLng(well.location.latitude, well.location.longitude)就足以创建中心点我不能像用标记那样在$.getJSON函数中做圆圈吗?是不是发生了“不同步”?我仍在努力学习如何处理异步事件。HTML: <script sr