English 中文(简体)
将正确的标签与谷歌地图中的标识联系起来
原标题:Associating correct labels with markers in Google Maps

I have a little problem with a Google Maps page I have put together. Here is the test URL - http://projects.presencemultimedia.co.uk/impari/savings/map_test.html

我想通过提及其联合王国的邮局编码,在地图上划定多个地点。 当用户点击标识时,每个标识还将有相关的标签(使用开放式InfoWindowHtml)。

测试页对标记进行细微,但我为每个标识填写正确的标签而努力。 目前,当你点上标识时,他们都标出最后标的标签。

不能肯定,如果我只想把 j壁画的不同范围混为一谈,或者在谷歌地图上有一些带有多个标识的独一无二之处,但现在却把我mad。

任何帮助/帮助都受到高度赞赏。

关于 哲学

最佳回答

问题是,当你称呼功能时,全球无光电超变数被设定为“Village农场健康俱乐部”,因此,你总是看到,作为信息窗口文本。

您需要将信息窗口 html通过usePointFromstcode,将其与当地G localSearch的标语联系起来,然后将斜线通过。

Here是这一范例(基于你的代码)(source/a)。

问题回答

暂无回答




相关问题
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.

热门标签