MarkerWithLabel 停止正常工作 [英] MarkerWithLabel stopped working correctly

查看:22
本文介绍了MarkerWithLabel 停止正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天 3/4/2014 突然间,我的 MarkerWithLabel(Google 地图 API 应用程序)只显示最后一个标记,但所有标签都显示出来.它一直工作得很好.Google 示例位于:https://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.0.1/examples/basic.html 根本不工作,我的代码基于这个曾经工作过的例子很好.

All of a sudden yesterday 3/4/2014 my MarkerWithLabel (Google map API application) is only showing the last marker but the labels all show up. It had been working just fine. The Google Example at: https://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.0.1/examples/basic.html is not working at all and I based my code on this example that used to work just fine.

在下面的链接中,我在地图上放置了 2 个带标签的标记.仅显示标记 2,同时显示两个标签.反转标记会使标记 2 显示,但不会显示标记 1.两个标签都显示.

In link below I placed 2 markers with labels on a map. Only marker 2 displays while both labels display. Reversing the markers causes marker 2 to display but not marker 1. Both labels display.

发生了什么变化或我做错了什么?

What changed or what am I doing wrong?

您可以在 http://qsomap.org/QSOmapProduction/labeltest.htm 亲眼看到我的问题.这在 2 天前工作正常.

You can see my problem first hand at http://qsomap.org/QSOmapProduction/labeltest.htm . This was working correctly 2 days ago.

推荐答案

似乎最新的谷歌地图更新破坏了markerwithlabel 代码所依赖的东西.同样的事情发生在我的一些地图上.我们必须等到修复程序可用.

It appears as if the latest google maps update broke something that markerwithlabel code relies on. The same thing happend to some of my maps. We'll have to wait until a fix is available.

目前的解决方案是将谷歌地图API版本设置为3.15或更低:https://code.google.com/p/google-maps-utility-library-v3/issues/detail?id=296&sort=-id&colspec=ID%20Type%20Status%20Priority%20Fixed%20Owner%20Summary%20Stars

The current solution is to set the google maps API version to 3.15 or lower: https://code.google.com/p/google-maps-utility-library-v3/issues/detail?id=296&sort=-id&colspec=ID%20Type%20Status%20Priority%20Fixed%20Owner%20Summary%20Stars

  • 使用 ...maps.google.com/maps/api/js?sensor=false&v=3.15 有效
  • 使用 ...maps.google.com/maps/api/js?sensor=false&v=3.16 出错
  • 使用 ...maps.google.com/maps/api/js?sensor=false 也会出错

这篇关于MarkerWithLabel 停止正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆