如何在地图图像加载上显示工具提示,从 imagemapster 开始

问题描述

我知道 imagemapster 可以在鼠标悬停时显示工具提示,但我希望在地图加载开始时继续显示,怎么办?

var image = $('img');
image.mapster({
fillColor: 'F0AF02',fillOpacity : 0.2,stroke: true,strokeWidth: 2,strokeColor: '09DA22',mapKey: 'data-key',mapValue: 'data-pd',scaleMap:true,showToolTip:true,areas:  [{
           key: "a01",toolTip: "tooltip1",staticState: true
        },{ 
           key: "a02",toolTip: "tooltip2",staticState: true,}]
});

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)