bbj-screen-widget 2.4.72 → 2.4.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bbj-screen-widget.metadata.json +1 -1
- package/bundles/bbj-screen-widget.umd.js +1 -0
- package/bundles/bbj-screen-widget.umd.js.map +1 -1
- package/bundles/bbj-screen-widget.umd.min.js +1 -1
- package/bundles/bbj-screen-widget.umd.min.js.map +1 -1
- package/esm2015/lib/custom-baidu-map/baidu-lushu/baidu-lushu.component.js +2 -1
- package/fesm2015/bbj-screen-widget.js +1 -0
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/js/BMapGL/Lushu.js +9 -1
package/package.json
CHANGED
|
@@ -583,7 +583,15 @@ var BMapGLLib = window.BMapGLLib = BMapGLLib || {};
|
|
|
583
583
|
var index = me._troughPointIndex(pos);
|
|
584
584
|
if (index != -1) {
|
|
585
585
|
clearInterval(me._intervalFlag);
|
|
586
|
-
me.
|
|
586
|
+
var html=me._opts.landmarkPois[index].html;
|
|
587
|
+
if(html){
|
|
588
|
+
if(me._opts.replaceDefaultContent){
|
|
589
|
+
me._opts.defaultContent=html;
|
|
590
|
+
}
|
|
591
|
+
}else{
|
|
592
|
+
html=me._opts.defaultContent;
|
|
593
|
+
}
|
|
594
|
+
me._overlay.setHtml(html);
|
|
587
595
|
me._overlay.setPosition(pos, me._marker.getIcon().size);
|
|
588
596
|
me._pauseForView(index);
|
|
589
597
|
} else {
|