English 中文(简体)
信息窗口开张迟缓或根本不开放
原标题:InfoWindow opens slow or not at all

我使用这一非常基本的法律使InfoWindow成为一个单一州,并在必要时开放。 (单位:千美元)

google.maps.event.addListener(marker,  click , function() {
                                  infowindow.setContent(content);
                                  infowindow.open(map,marker); 
                                  reportClickedMarker();
                                  });

问题是,福克斯岛的开放似乎非常缓慢。 当我点上第一个标识时,该标识在延迟0-1秒后打开。 第二个标识相当接近第一个标识,在+1二之后开放,第三个标识(有时)根本不开放。 我是在没有呼吁的情况下尝试的。

reportClickedMarker();

但这并没有改变。 只有当我把浮点放在标识上时,才会立即开放。

a) Does anyone what might be wrong, or is that even normal behavior (the delay?)

b) 标识上的“ake”双轨吗?

预 收

最佳回答

看来,你正在打上在移动装置上点击事件的 in误。 由于平台需要确定接触点是否是姿态的开始,这种拖延就已经形成。 不要点击,而是利用触角活动。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签