English 中文(简体)
jMapping V2.0 : not绘画铁路3+jQuery-UJS项目
原标题:jMapping V2.0 : not drawing markers in Rails 3 + jQuery-UJS project

i 在铁路3项目中使用jMapping V2.0是一个问题,它用斜线显示标记,花gin使用MarkerManager v3 1.0来管理标识,即用 mo和hr子进行测试,而且两者都显示标记。 如果有人能向我指明正确方向,请你看一下该守则:

最佳回答

请把你列入的google javascript文档移至您的javascript 档案清单的开始。

你:

<script src="/javascripts/map/StyledMarker.js?1291880427" type="text/javascript"></script>
<script src="/javascripts/map/markermanager.js?1291880427" type="text/javascript"></script>
<script src="http://maps.google.com/maps/api/js?v=3.3&sensor=false" type="text/javascript"></script>

改为:

<script src="http://maps.google.com/maps/api/js?v=3.3&sensor=false" type="text/javascript"></script>
<script src="/javascripts/map/StyledMarker.js?1291880427" type="text/javascript"></script>
<script src="/javascripts/map/markermanager.js?1291880427" type="text/javascript"></script>
问题回答

暂无回答




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

热门标签