Main Menu

News:

Please be aware of the Forum Rules of Conduct.

Hide tooltip in Dynamic map

Started by m2rt, July 12, 2013, 10:04:41 AM

Previous topic - Next topic

m2rt

Title: Hide tooltip in Dynamic map

Summary: At the moment you can not hide the tooltip on the Dynamic map. It makes the dynamic map at my resolution unusable sometimes.

Details: When you click on a region, then a tooltip comes up. For me it lands on top of the "selection box" where you can switch which layers to show. Rendering the layers unusable for me. Its easy to fix, just add an "X" which calls this javascript: $(".ui-tooltip-default").qtip("hide");

Benefits: Hiding tooltip makes it easy to make the layer selection box usable again.

Possible Exploits: Unknown to me.

Atanamir

I don't use the Dynamic map as I prefer to work with Political Map but if it helps another player and it can't harm anyone, I support it. :)

Jaden

I had the same problem before, though you can get rid of the tooltip by clicking outside of the dynamic map..
PM me for the Dota 2 guild.
"Darka would like to thank CE and co for their generous offerings, the Holy Volcano will be filled up for days with all these offerings!"-Jaret Jaron's last words

Anaris

I will try adding that, though it won't help for the erroneous "loading" tooltips that appear if you click outside of a realm or region...

(If anyone has significant experience with OpenLayers, your assistance with the Dynamic Map would be welcome...)
Timothy Collett

"The only thing you can't trade for your heart's desire...is your heart." "You are what you do.  Choose again, and change." "One of these days, someone's gonna plug you, and you're going to die saying, 'What did I say? What did I say?'"  ~ Miles Naismith Vorkosigan

Foundation

Man... pro feature request - includes js snippet to fix. Go m2rt! :)
The above is accurate 25% of the time, truthful 50% of the time, and facetious 100% of the time.

Tom

I think the fix is even easier than that, qtip almost certainly has an option to render a close icon/button. Just need to enable that.

m2rt

Quote from: Foundation on July 12, 2013, 02:04:05 PM
Man... pro feature request - includes js snippet to fix. Go m2rt! :)

Heh, thats what I use in Firebug when my connection is too bad to refresh the map.

m2rt

Quote from: Tom on July 12, 2013, 08:00:58 PM
I think the fix is even easier than that, qtip almost certainly has an option to render a close icon/button. Just need to enable that.

Indeed! http://craigsworks.com/projects/qtip/docs/reference/

add button: "Close" in the title element in the content. Though at the moment there is no title element.

Foundation

Even uses firebug! (though Chrome dev tools man, shameless pitch)
The above is accurate 25% of the time, truthful 50% of the time, and facetious 100% of the time.