Fix kml-timezone example tooltip
This commit is contained in:
@@ -82,11 +82,7 @@ const displayFeatureInfo = function (pixel) {
|
|||||||
return feature;
|
return feature;
|
||||||
});
|
});
|
||||||
if (feature) {
|
if (feature) {
|
||||||
info
|
info.attr('data-original-title', feature.get('name')).tooltip('show');
|
||||||
.tooltip('hide')
|
|
||||||
.attr('data-original-title', feature.get('name'))
|
|
||||||
.tooltip('fixTitle')
|
|
||||||
.tooltip('show');
|
|
||||||
} else {
|
} else {
|
||||||
info.tooltip('hide');
|
info.tooltip('hide');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user