【问题标题】:ext js infoBubble is not definedext js infoBubble 未定义
【发布时间】:2013-08-20 16:27:55
【问题描述】:

我正在使用 Ext Js 创建地图标记,点击时会显示 infoBubble。当我尝试添加此代码时,出现以下错误:Uncaught ReferenceError: infoBubble is not defined

infoBubble = new InfoBubble({
                    content: '<div class="example">Some label</div>',
                    shadowStyle: 1,
                    padding: 10,
                    borderRadius: 5,
                    minWidth: 200,
                    borderWidth:1,
                    disableAutoPan: true,
                    hideCloseButton: false,         
                    backgroundClassName: 'example',

                          });

可能是什么问题? 任何帮助将不胜感激,谢谢

【问题讨论】:

  • 通过将

标签: extjs google-maps-api-3 infobubble


【解决方案1】:

尝试用 google.maps.InfoBubble 代替 InfoBubble,我还看到最后一个必须删除的属性后面有一个“,”

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多